[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#185903: [arm] gcc optimization error with -O2, affecting bison



Matthias Klose <doko@cs.tu-berlin.de> writes:

> Lukas Geyer writes:
> > Package: gcc-3.2
> > Version: 1:3.2.3ds2-0pre3
> > Severity: important
> > 
> > I have been unable to cook up a short testcase, mainly due to bad
> > connectivity and lack of experience. However, bison-1.875a gets
> > miscompiled on arm with -O2, it seems to compile correctly with
> > -O1. My experiments where done in a sid chroot on debussy, so I used
> > the available versions in sid. Here are the relevant code sections and
> > what gdb shows.
> 
> - did bison compile correctly with gcc-2.95 (and -O2)?
> - does it compile correctly with gcc-snapshot (and -O2)?

I just checked, it compiles correctly both with gcc-2.95 and
gcc-snapshot, version 20030221-1.

Lukas



Reply to: