[Bug tree-optimization/71490] [7 regression] gcc.dg/tree-ssa/slsr-8.c FAILs

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 13 14:45:00 GMT 2016


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

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
The r237185 revision really caused that one slsr opportunity is gone, however
there's still one remaining (-fno-tree-slsr vs -ftree-slsr) show:

   <bb 3>:
-  a2_15 = s_11(D) * 4;
-  _4 = (long unsigned int) a2_15;
-  _5 = _4 * 4;
-  _6 = -_5;
-  x2_16 = c_13(D) + _6;
+  x2_16 = x1_14 + _3;
   goto <bb 5>;

I'm going to send patch to ML.


More information about the Gcc-bugs mailing list