This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/23451] [3.4/4.0/4.1/4.2 regression] Redundant reloading from stack frame
- From: "herbert at gondor dot apana dot org dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jan 2006 23:25:39 -0000
- Subject: [Bug target/23451] [3.4/4.0/4.1/4.2 regression] Redundant reloading from stack frame
- References: <bug-23451-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from herbert at gondor dot apana dot org dot au 2006-01-10 23:25 -------
Subject: Re: [3.4/4.0/4.1/4.2 regression] Redundant reloading from stack frame
On Tue, Jan 10, 2006 at 10:58:03PM -0000, steven at gcc dot gnu dot org wrote:
>
>
> ------- Comment #8 from steven at gcc dot gnu dot org 2006-01-10 22:58 -------
> Unfortunately you're not showing your full command line, so I can only guess
> what platform your host is and for what target you are compiling. I will
> attach diffs between GCC 3.2 and GCC 3.3-hammer for i[456]86. To me the
> changes look insignificant, but maybe you can point out what you're unhappy
> with.
Good point. I was using
gcc-3.2 -S -O2
which for my build defaults to --march=i386. Indeed, using --march=i486
produces the same output as gcc-3.3/gcc-3.4. In fact, using --march=i386
on gcc-3.3/gcc-3.4 also removes the duplicate reloading.
So it seems that it's really a difference between --march=i386 versus
--march=i486.
Cheers,
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23451