Bug#229567: gcc-3.3: Miscompile with -O -funroll-loops on powerpc

2004-01-25 Thread Matthias Klose
Matijs van Zuijlen writes: > Package: gcc-3.3 > Version: 1:3.3.3-0pre2 > Severity: normal > > When complied with -O -funroll-loops on powerpc, the attached test.i > produces the following output: > > Bytes in main: 0 1 > Bytes in: 0 1 0 1 0 1 ( 0 10 15 254) > x = 282 > Bytes in: 0 1 0 1 0 1 ( 94

Bug#229567: gcc-3.3: Miscompile with -O -funroll-loops on powerpc

2004-01-25 Thread Matijs van Zuijlen
Package: gcc-3.3 Version: 1:3.3.3-0pre2 Severity: normal When complied with -O -funroll-loops on powerpc, the attached test.i produces the following output: Bytes in main: 0 1 Bytes in: 0 1 0 1 0 1 ( 0 10 15 254) x = 282 Bytes in: 0 1 0 1 0 1 ( 94 52 15 254) x = 418 Bytes in: 0 1 0 1 0 1 ( 7 208