[Bug tree-optimization/71461] missed optimization in conditional assignment
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 9 07:16:00 GMT 2016
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.
More information about the Gcc-bugs
mailing list