This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]