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

Bug#192634: gcc-3.3: arm regression from 2.95, -O2 generates invalid asm



Package: gcc-3.3
Version: 3.3-0pre7
Severity: important

This is a regression from gcc-2.95; it's fixed by reducing
optimization to -O1 or less.  Both gcc-snapshot (20030410-1) and
gcc-3.2 have the same problem.

-save-temps output is available from:

http://people.debian.org/~troup/gcc/fmopl.i.bz2

| Automatic build of freesci_0.3.4a-5 on elara by sbuild/arm 1.170
| Build started at 20030325-0004
| ******************************************************************************

[...]

| if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include  -I/usr/include/freetype2 -I/usr/include/freetype2 -Wall -g -O2 -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -Wall -g -O2 -MT fmopl.o -MD -MP -MF ".deps/fmopl.Tpo" \
|   -c -o fmopl.o `test -f 'fmopl.c' || echo './'`fmopl.c; \
| then mv ".deps/fmopl.Tpo" ".deps/fmopl.Po"; \
| else rm -f ".deps/fmopl.Tpo"; exit 1; \
| fi
| /tmp/ccAqo7s9.s: Assembler messages:
| /tmp/ccAqo7s9.s:4783: Error: bad immediate value for offset (4112)
| /tmp/ccAqo7s9.s:4785: Error: bad immediate value for offset (4112)

A complete build log can be found at
http://buildd.debian.org/build.php?arch=arm&pkg=freesci&ver=0.3.4a-5

-- 
James



Reply to: