Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.3.3/work/gcc-4.3.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.3 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.3/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --disable-libgcj --with-arch=i686 --enable-objc-gc --enable-languages=c,c++,objc,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.3 p1.0, pie-10.1.5' Thread model: posix gcc version 4.3.3 (Gentoo 4.3.3 p1.0, pie-10.1.5) COLLECT_GCC_OPTIONS='-DHAVE_CONFIG_H' '-I.' '-I.' '-I../..' '-I../../utility' '-I..' '-I../../common' '-I../../intl' '-DLOCALEDIR="/usr/share/locale"' '-DDEFAULT_DATA_PATH=".:data:~/.freeciv:/usr/share/games/freeciv"' '-Wall' '-Wpointer-arith' '-Wcast-align' '-Wmissing-prototypes' '-Wmissing-declarations' '-O2' '-march=athlon' '-mtune=athlon' '-pipe' '-c' '-save-temps' '-v' /usr/libexec/gcc/i686-pc-linux-gnu/4.3.3/cc1 -E -quiet -v -I. -I. -I../.. -I../../utility -I.. -I../../common -I../../intl -DHAVE_CONFIG_H -DLOCALEDIR="/usr/share/locale" -DDEFAULT_DATA_PATH=".:data:~/.freeciv:/usr/share/games/freeciv" cm.c -D_FORTIFY_SOURCE=2 -march=athlon -mtune=athlon -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -O2 -fpch-preprocess -o cm.i ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/include" ignoring duplicate directory "." ignoring duplicate directory "../../common" #include "..." search starts here: #include <...> search starts here: . ../.. ../../utility .. ../../intl /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include-fixed /usr/include End of search list. COLLECT_GCC_OPTIONS='-DHAVE_CONFIG_H' '-I.' '-I.' '-I../..' '-I../../utility' '-I..' '-I../../common' '-I../../intl' '-DLOCALEDIR="/usr/share/locale"' '-DDEFAULT_DATA_PATH=".:data:~/.freeciv:/usr/share/games/freeciv"' '-Wall' '-Wpointer-arith' '-Wcast-align' '-Wmissing-prototypes' '-Wmissing-declarations' '-O2' '-march=athlon' '-mtune=athlon' '-pipe' '-c' '-save-temps' '-v' /usr/libexec/gcc/i686-pc-linux-gnu/4.3.3/cc1 -fpreprocessed cm.i -quiet -dumpbase cm.c -march=athlon -mtune=athlon -auxbase cm -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -version -o cm.s GNU C (Gentoo 4.3.3 p1.0, pie-10.1.5) version 4.3.3 (i686-pc-linux-gnu) compiled by GNU C version 4.3.3, GMP version 4.2.4, MPFR version 2.3.2. GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64090 Compiler executable checksum: 3bb01a6c568a839db7333dbf97a76459 COLLECT_GCC_OPTIONS='-DHAVE_CONFIG_H' '-I.' '-I.' '-I../..' '-I../../utility' '-I..' '-I../../common' '-I../../intl' '-DLOCALEDIR="/usr/share/locale"' '-DDEFAULT_DATA_PATH=".:data:~/.freeciv:/usr/share/games/freeciv"' '-Wall' '-Wpointer-arith' '-Wcast-align' '-Wmissing-prototypes' '-Wmissing-declarations' '-O2' '-march=athlon' '-mtune=athlon' '-pipe' '-c' '-save-temps' '-v' /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/as -V -Qy -o cm.o cm.s GNU assembler version 2.19 (i686-pc-linux-gnu) using BFD version (GNU Binutils) 2.19 COMPILER_PATH=/usr/libexec/gcc/i686-pc-linux-gnu/4.3.3/:/usr/libexec/gcc/i686-pc-linux-gnu/4.3.3/:/usr/libexec/gcc/i686-pc-linux-gnu/:/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/:/usr/lib/gcc/i686-pc-linux-gnu/:/usr/libexec/gcc/i686-pc-linux-gnu/4.3.3/:/usr/libexec/gcc/i686-pc-linux-gnu/:/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/:/usr/lib/gcc/i686-pc-linux-gnu/:/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/bin/ LIBRARY_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/:/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/:/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../../i686-pc-linux-gnu/lib/:/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-DHAVE_CONFIG_H' '-I.' '-I.' '-I../..' '-I../../utility' '-I..' '-I../../common' '-I../../intl' '-DLOCALEDIR="/usr/share/locale"' '-DDEFAULT_DATA_PATH=".:data:~/.freeciv:/usr/share/games/freeciv"' '-Wall' '-Wpointer-arith' '-Wcast-align' '-Wmissing-prototypes' '-Wmissing-declarations' '-O2' '-march=athlon' '-mtune=athlon' '-pipe' '-c' '-save-temps' '-v'
Now, I'm not sure, whether this file is the correct one, as freeciv is quite big, but http://bugs.freeciv.org/Ticket/Display.html?id=40610 seems to suggest that this is the correct one. I'm not sure, whether or not upstream has opened a bug here already, as I'm not sure, what search terms should I use. -- Summary: gcc 4.3.3 miscompiles when -finline-small-functions is used Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: galtgendo at o2 dot pl http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39333