This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug target/10412] Renesas SH - Incorrect code generation
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: "Dhananjay R. Deshpande" <dhananjayd at KPITCummins dot com>
- Cc: <gcc-bugzilla at gcc dot gnu dot org>, <gcc-patches at gcc dot gnu dot org>
- Date: 26 Jun 2003 01:10:12 -0300
- Subject: Re: [Bug target/10412] Renesas SH - Incorrect code generation
- Organization: GCC Team, Red Hat
- References: <69595093233BB547BB70CF5E492B63F2016864FB@sohm.kpit.com>
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.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer