https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71461

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-06-09
                 CC|                            |rguenth at gcc dot gnu.org
          Component|c++                         |tree-optimization
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
phiprop handles the load case

 int f (bool b) { return *(b ? &i : &j); }

but not the store case.  Not sure if it is worth adding, it would transform
f2 into f1.

Reply via email to