This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/10412] Renesas SH - Incorrect code generation
- From: "aoliva at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jun 2003 05:07:00 -0000
- Subject: [Bug target/10412] Renesas SH - Incorrect code generation
- References: <20030415115600.10412.shrinivasa@kpitcummins.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10412
------- Additional Comments From aoliva at redhat dot com 2003-06-26 05:06 -------
Subject: Re: Renesas SH - Incorrect code generation
On Jun 25, 2003, "Dhananjay R. Deshpande" <dhananjayd@KPITCummins.com> wrote:
> The patch below fixes the problem on 3.3 branch and mainline by
> removing MACL and MACH from fixed regs when -mhitachi option is
> passed.
I don't understand why this patch would fix the problem, and it's
definitely not correct in general. At least MACH_REG must remain
fixed if the target happens to be SH1, per comments right before
FIXED_REGISTERS in sh.h.
I suspect your patch is just papering over a different problem, that
could still trigger with different testcases.