[Bug middle-end/26840] [4.2 Regression] escaping global variables cause 'definition follows use' error.

law at redhat dot com gcc-bugzilla@gcc.gnu.org
Fri Mar 24 14:56:00 GMT 2006



------- Comment #8 from law at redhat dot com  2006-03-24 14:56 -------
Subject: Re:  [4.2 Regression] escaping global
        variables cause 'definition follows use' error.

On Fri, 2006-03-24 at 14:49 +0000, dberlin at gcc dot gnu dot org wrote:
> 
> ------- Comment #6 from dberlin at gcc dot gnu dot org  2006-03-24 14:49 -------
> The only reason i can think that this would occur is if the copies had
> different SMT's or NMT's associated with them, but that shouldn't happen, since
> they are copies :)
The problem here is the set of virtual operands changes as a result
of propagating an invariant ADDR_EXPR into a use site.  What's odd
is the code should be mimicking how other passes already deal with
this issue.

For reasons I don't understand yet, we haven't marked those virtual
operands which are removed from the use site for renaming.  I'll be
working on this today.

jeff


-- 


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



More information about the Gcc-bugs mailing list