Re: -frename-registers bug?

2009-07-02 Thread DJ Delorie
> You could file this in Bugzilla instead, with all required fields > filled in (host, target, compiler revision number, etc), and test > cases as text attachments ;-) Ok. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40626

Re: -frename-registers bug?

2009-07-02 Thread Steven Bosscher
Hi DJ, You could file this in Bugzilla instead, with all required fields filled in (host, target, compiler revision number, etc), and test cases as text attachments ;-) Ciao! Steven On Thu, Jul 2, 2009 at 11:30 PM, DJ Delorie wrote: > > When compiled with -frename-registers, this test case pro

-frename-registers bug?

2009-07-02 Thread DJ Delorie
When compiled with -frename-registers, this test case produces invalid code. Specifically, the cpadd4.h opcode clobbers $c1 but the cpsub2.h assumes it still has the value "a" in it. Compiling with -fno-rename-registers results in valid code. I've attached the full testcase and before/after dum