I tried to emerge sys-fs/e2fsprogs-1.40.9 with gcc-4.3.1 and ‘-fipa-pta’ in CFLAGS. This resulted in an ICE for lib/ext2fs/tdb.c. I’m going to attach my reduced testcase.
Created attachment 157999 [details] Preprocessed source with reduced testcase for showing gcc-4.3.1 -fipa-pta ICE. Reduced testcase. Compile with LC_ALL=POSIX gcc -O2 -march=i686 -fipa-pta -c testcase.i -v Output on my machine: Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.3.1/work/gcc-4.3.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-cld --enable-java-awt=gtk --with-arch=i686 --enable-objc-gc --enable-languages=c,c++,java,objc,obj-c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.1 p1.0' Thread model: posix gcc version 4.3.1 (Gentoo 4.3.1 p1.0) COLLECT_GCC_OPTIONS='-O2' '-march=i686' '-fipa-pta' '-c' '-v' /usr/libexec/gcc/i686-pc-linux-gnu/4.3.1/cc1 -fpreprocessed testcase.i -quiet -dumpbase testcase.i -march=i686 -auxbase testcase -O2 -version -fipa-pta -o /tmp/ccJ4nG6z.s GNU C (Gentoo 4.3.1 p1.0) version 4.3.1 (i686-pc-linux-gnu) compiled by GNU C version 4.3.1, GMP version 4.2.2, MPFR version 2.3.1. GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=128247 Compiler executable checksum: 322912a5ff88bc183753d2e2518d8b70 testcase.i: In function 'func_one': testcase.i:24: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.gentoo.org/> for instructions.
-fipa-pta doesnt affect code generation, so it doesnt make sense to use it. upstream is aware of the issues though and is banging away on them.