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: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jan 2006 23:36:51 -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 #15 from steven at gcc dot gnu dot org 2006-01-10 23:36 -------
Then I am quite sure that the difference comes from using "repnz; scasb" in GCC
3.2 vs. calling strlen in GCC 3.3 on i486. For GCC 3.2, the code for i386 and
i486 are pretty much equivalent (the only difference is that on i386 we use
leave), but with GCC 3.3 the code for i486 is very different from the code for
i386. Looks like some tuning parameters got changed.
So, closing as INVALID, i.e. not-a-bug. It's an interesting oddity though.
I've learned something again today :-)
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23451