This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16452] [3.5 regression] Register name lost when compiling with -O2
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jul 2004 14:26:10 -0000
- Subject: [Bug c/16452] [3.5 regression] Register name lost when compiling with -O2
- References: <20040709142319.16452.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rearnsha at gcc dot gnu dot org 2004-07-12 14:26 -------
Subject: Re: [3.5 regression] Register name lost when
compiling with -O2
On Mon, 2004-07-12 at 14:58, matz at suse dot de wrote:
> ------- Additional Comments From matz at suse dot de 2004-07-12 13:58 -------
> Will this catch everything? I.e. are there other "attributes" of a
> declaration which are stored in the DECL which also could be removed now
> but needed later?
I don't know. I'm not even 100% certain this is the correct fix. It
certainly seems wrong that we should clobber the DECL_RTL in this case,
but the front end isn't really my area of expertise.
R.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16452