Bug#179712: gcc-3.2 -O2 miscompilation (i386)

2003-02-04 Thread Daniel Jacobowitz
On Tue, Feb 04, 2003 at 05:02:10AM +0200, Marko Kreen wrote: > Package: gcc-3.2 > Version: 1:3.2.2-0pre8 > Severity: normal > > > gcc-3.2 -O2 miscompiles following program: > > - > extern int write(int fd, void *buf, int len); > extern int toupper(int

Bug#179712: gcc-3.2 -O2 miscompilation (i386)

2003-02-03 Thread Marko Kreen
Package: gcc-3.2 Version: 1:3.2.2-0pre8 Severity: normal gcc-3.2 -O2 miscompiles following program: - extern int write(int fd, void *buf, int len); extern int toupper(int c); void strupr (char *s) { while (*s) *s++ = toupper(*s