[Bug target/10412] Renesas SH - Incorrect code generation
aoliva at redhat dot com
gcc-bugzilla@gcc.gnu.org
Thu Jun 26 05:44:00 GMT 2003
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.
More information about the Gcc-bugs
mailing list