This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/26840] [4.2 Regression] escaping global variables cause 'definition follows use' error.
- From: "law at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2006 14:56:53 -0000
- Subject: [Bug middle-end/26840] [4.2 Regression] escaping global variables cause 'definition follows use' error.
- References: <bug-26840-638@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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