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

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gjl at gcc dot gnu.org

--- Comment #7 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-02-29 
11:30:14 UTC ---
(In reply to comment #6)
> Author: aoliva
> Date: Sat Feb 25 12:09:41 2012
> New Revision: 184572
> 
> URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184572
> Log:
> PR debug/52001
> * alias.c (refs_newer_value_cb, refs_newer_value_p): New.
> (get_addr): Walk canonical value's locs.  Avoid returning VALUEs
> and locs that reference values newer than the non-canonical value
> at hand.  Return the canonical value as a worst case.
> (memrefs_conflict_p): Walk canonical value's locs.
> 
> Modified:
>     trunk/gcc/ChangeLog
>     trunk/gcc/alias.c

This caused PR52417.

With alias.c at r184571 the compiler does not enter infinite loop.

Reply via email to