Tried to build one of itermediate ghc(glasgow haskell compiler) files and got SIGSEGV: gcc-4.4.3 -x c ghc30321_0.i -S -fno-strict-aliasing -O2 -o a.s
Yes, it's a gentoo patched gcc, but I'll check vanilla gcc-svn in shortest time. (bug is reproducible on gcc-4.3.3 as well) /tmp/ghc30321_0/ghc30321_0.hc: In function s3M_ret: /tmp/ghc30321_0/ghc30321_0.hc:25: warning: function called through a non-compatible type /tmp/ghc30321_0/ghc30321_0.hc:25: note: if this code is reached, the program will abort /tmp/ghc30321_0/ghc30321_0.hc: In function s3Q_ret: /tmp/ghc30321_0/ghc30321_0.hc:74: warning: function called through a non-compatible type /tmp/ghc30321_0/ghc30321_0.hc:74: note: if this code is reached, the program will abort /tmp/ghc30321_0/ghc30321_0.hc: In function s3S_ret: /tmp/ghc30321_0/ghc30321_0.hc:171: warning: function called through a non-compatible type /tmp/ghc30321_0/ghc30321_0.hc:171: note: if this code is reached, the program will abort /tmp/ghc30321_0/ghc30321_0.hc: In function s3g_ret: /tmp/ghc30321_0/ghc30321_0.hc:185: warning: function called through a non-compatible type /tmp/ghc30321_0/ghc30321_0.hc:185: note: if this code is reached, the program will abort /tmp/ghc30321_0/ghc30321_0.hc: In function ghczmprim_GHCziDebug_debugErrLn1_entry: /tmp/ghc30321_0/ghc30321_0.hc:206: warning: function called through a non-compatible type /tmp/ghc30321_0/ghc30321_0.hc:206: note: if this code is reached, the program will abort /tmp/ghc30321_0/ghc30321_0.hc: In function s3U_ret: /tmp/ghc30321_0/ghc30321_0.hc:253: warning: function called through a non-compatible type /tmp/ghc30321_0/ghc30321_0.hc:253: note: if this code is reached, the program will abort /tmp/ghc30321_0/ghc30321_0.hc: In function s3y_ret: /tmp/ghc30321_0/ghc30321_0.hc:267: warning: function called through a non-compatible type /tmp/ghc30321_0/ghc30321_0.hc:267: note: if this code is reached, the program will abort /tmp/ghc30321_0/ghc30321_0.hc: In function ghczmprim_GHCziDebug_debugLn1_entry: /tmp/ghc30321_0/ghc30321_0.hc:288: warning: function called through a non-compatible type /tmp/ghc30321_0/ghc30321_0.hc:288: note: if this code is reached, the program will abort /tmp/ghc30321_0/ghc30321_0.hc: In function ghczmprim_GHCziDebug_debugErrLn_entry: /tmp/ghc30321_0/ghc30321_0.hc:308: warning: function called through a non-compatible type /tmp/ghc30321_0/ghc30321_0.hc:308: note: if this code is reached, the program will abort /tmp/ghc30321_0/ghc30321_0.hc: In function ghczmprim_GHCziDebug_debugLn_entry: /tmp/ghc30321_0/ghc30321_0.hc:325: warning: function called through a non-compatible type /tmp/ghc30321_0/ghc30321_0.hc:325: note: if this code is reached, the program will abort /tmp/ghc30321_0/ghc30321_0.hc: In function __stginit_ghczmprim_GHCziDebug: /tmp/ghc30321_0/ghc30321_0.hc:361: warning: function called through a non-compatible type /tmp/ghc30321_0/ghc30321_0.hc:361: note: if this code is reached, the program will abort /tmp/ghc30321_0/ghc30321_0.hc: In function s3S_ret: /tmp/ghc30321_0/ghc30321_0.hc:173: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.gentoo.org/> for instructions. Target: powerpc64-unknown-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/configure --prefix=/usr --bindir=/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.3.4 --includedir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include --datadir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.4 --mandir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.4/man --infodir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.4/info --with-gxx-include-dir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include/g++-v4 --host=powerpc64-unknown-linux-gnu --build=powerpc64-unknown-linux-gnu --enable-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 --disable-libgcj --enable-languages=c,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.4 p1.0, pie-10.1.5' Thread model: posix gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) -- Summary: ICE: powerpc64 with -fno-strict-aliasing -O2 on interersting asm volatiles Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: slyfox at inbox dot ru GCC build triplet: powerpc64-unknown-linux-gnu GCC host triplet: powerpc64-unknown-linux-gnu GCC target triplet: powerpc64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43470