https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59660
--- Comment #22 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #21) > > +FAIL: gcc.dg/pr46309-2.c scan-tree-dump-times reassoc1 "Optimizing range > > tests a_[0-9]*.D. -.1, 1. and -.2, 2. and -.3, 3. and -.4, 4. and -.5, 5. > > and -.6, 6. and -.7, 7. and -.8, 8.[\\n\\r]* into" 7 > > +FAIL: gcc.dg/pr46309-2.c scan-tree-dump-times reassoc1 "Optimizing range > > tests a_[0-9]*.D. -.1, 1. and -.2, 2. and -.3, 3. and -.4, 4.[\\n\\r]* into" > > 2 > > So gcc.dg/pr46309-2.c is f10 being missed out, there is nothing wrong with > the transformation that phiprop did. In fact with the C++ front-end, we end > up with the same IR as after I filed PR 119988 for that. I am still deciding if we want to change the testcase (with a xfail or change what is scanning) or try to fix reassoication first.