4.2 wrong code regression [PR 31136]

2007-03-19 Thread TabonyEE
Hi, I recently filed a bug against 4.2: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31136 The bug does not appear to be in 4.1.2 or mainline. Is it something that could be fixed for 4.2.0? Is this a good place to ask this question? (er... the previous question :) Thanks, Charles J. Tabony

Re: subreg transformation causes incorrect post_inc

2006-11-10 Thread TabonyEE
From: Mark Shinwell <[EMAIL PROTECTED]> > [EMAIL PROTECTED] wrote: > > My port, based on (GCC) 4.2.0 20061002 (experimental), is producing > > incorrect code for the following test case: > [snip] > > I've only had a very quick look at your code, but I have a feeling > thatthis is an instance of t

Re: subreg transformation causes incorrect post_inc

2006-11-10 Thread TabonyEE
From: Mark Shinwell <[EMAIL PROTECTED]> > [EMAIL PROTECTED] wrote: > > My port, based on (GCC) 4.2.0 20061002 (experimental), is producing > > incorrect code for the following test case: > [snip] > > I've only had a very quick look at your code, but I have a feeling > thatthis is an instance of t

subreg transformation causes incorrect post_inc

2006-11-10 Thread TabonyEE
Hi, My port, based on (GCC) 4.2.0 20061002 (experimental), is producing incorrect code for the following test case: int f(short *p){ int sum, i; sum = 0; for(i = 0; i < 256; i++){ sum += *p++ & 0xFF; } return sum; } The RTL snippet of interest, before combine, is, (insn 23 22