http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56756



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



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED

         Resolution|                            |FIXED



--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> 2013-04-16 
15:41:05 UTC ---

Author: rguenth

Date: Tue Apr 16 15:32:26 2013

New Revision: 198001



URL: http://gcc.gnu.org/viewcvs?rev=198001&root=gcc&view=rev

Log:

2013-04-16  Richard Biener  <rguent...@suse.de>



    PR tree-optimization/56756

    * tree-ssa-loop-im.c (struct first_mem_ref_loc_1): New functor.

    (first_mem_ref_loc): New.

    (execute_sm): Place the load temporarily before a previous

    access instead of in the latch edge to ensure its SSA dependencies

    are defined at points dominating the load.



    * gcc.dg/torture/pr56756.c: New testcase.



Added:

    trunk/gcc/testsuite/gcc.dg/torture/pr56756.c

Modified:

    trunk/gcc/ChangeLog

    trunk/gcc/testsuite/ChangeLog

    trunk/gcc/tree-ssa-loop-im.c

Reply via email to