This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/10412] Renesas SH - Incorrect code generation


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]