This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/16482] [4.0 Regression] gcc.c-torture/unsorted/SFset.c fails with "-O2 -m4"
- From: "naveen dot sharma at noida dot hcltech dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Oct 2004 12:03:20 -0000
- Subject: [Bug target/16482] [4.0 Regression] gcc.c-torture/unsorted/SFset.c fails with "-O2 -m4"
- References: <20040711232647.16482.kkojima@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From naveen dot sharma at noida dot hcltech dot com 2004-10-18 12:03 -------
The patch submitted by Kaz looks OK to me.
There are some heuristics in sh.c that were written to disable
ready queue reordering when R0 is under pressure. But (mem (pseudo) (pseudo))
is an indirect implicit reference to R0.
I am wondering why this was missed? Was R0 a fixed_reg sometime during pre-3.3
releases, so as to generate (mem (r0) (pesudo)) instead of (mem (pseudo)
(pseudo) form?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |naveens at noida dot hcltech
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16482