Bug#198172: [arm] gcc-3.3 miscompile pari with -O3

2003-06-27 Thread Daniel Jacobowitz
On Thu, Jun 26, 2003 at 06:09:07PM +0100, Philip Blundell wrote: On Wed, 2003-06-25 at 21:13, Bill Allombert wrote: A wild guess : '@ lr needed for prologue' mean that lr must not be clobbered but 'ldrb lr, [r0, #3]' clobber it (??) Yes, exactly that. Thanks for isolating this problem!

Bug#198172: [arm] gcc-3.3 miscompile pari with -O3

2003-06-27 Thread Philip Blundell
On Fri, 2003-06-27 at 18:54, Daniel Jacobowitz wrote: On Thu, Jun 26, 2003 at 06:09:07PM +0100, Philip Blundell wrote: On Wed, 2003-06-25 at 21:13, Bill Allombert wrote: A wild guess : '@ lr needed for prologue' mean that lr must not be clobbered but 'ldrb lr, [r0, #3]' clobber it

Bug#198172: [arm] gcc-3.3 miscompile pari with -O3

2003-06-26 Thread Philip Blundell
On Wed, 2003-06-25 at 21:13, Bill Allombert wrote: A wild guess : '@ lr needed for prologue' mean that lr must not be clobbered but 'ldrb lr, [r0, #3]' clobber it (??) Yes, exactly that. Thanks for isolating this problem! I'll take a look at the code and see if I can come up with a fix,

Bug#198172: [arm] gcc-3.3 miscompile pari with -O3

2003-06-25 Thread Philip Blundell
On Thu, 2003-06-19 at 16:26, Bill Allombert wrote: Package: gcc-3.3 Version: 1:3.3-3 Severity: normal Dear GCC maintainers, gcc 3.3 (1:3.3ds9-3) miscompile pari (2.1.5) on arm with -O3, whereas gcc 3.2 (3.2.3 20030331) worked fine. With -O2 gcc 3.3 works fine also The preprocessed

Bug#198172: [arm] gcc-3.3 miscompile pari with -O3

2003-06-25 Thread Bill Allombert
On Wed, Jun 25, 2003 at 09:27:33AM +0100, Philip Blundell wrote: On Thu, 2003-06-19 at 16:26, Bill Allombert wrote: Package: gcc-3.3 Version: 1:3.3-3 Severity: normal Dear GCC maintainers, gcc 3.3 (1:3.3ds9-3) miscompile pari (2.1.5) on arm with -O3, whereas gcc 3.2 (3.2.3

Bug#198172: [arm] gcc-3.3 miscompile pari with -O3

2003-06-25 Thread Bill Allombert
On Wed, Jun 25, 2003 at 09:27:33AM +0100, Philip Blundell wrote: On Thu, 2003-06-19 at 16:26, Bill Allombert wrote: Package: gcc-3.3 Version: 1:3.3-3 Severity: normal Dear GCC maintainers, gcc 3.3 (1:3.3ds9-3) miscompile pari (2.1.5) on arm with -O3, whereas gcc 3.2 (3.2.3

Bug#198172: [arm] gcc-3.3 miscompile pari with -O3

2003-06-20 Thread Bill Allombert
Package: gcc-3.3 Version: 1:3.3-3 Severity: normal Dear GCC maintainers, gcc 3.3 (1:3.3ds9-3) miscompile pari (2.1.5) on arm with -O3, whereas gcc 3.2 (3.2.3 20030331) worked fine. With -O2 gcc 3.3 works fine also The preprocessed miscompiled file is available at