This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/39308] ICE when compiling with -O[s123] -floop-interchange



------- Comment #3 from il dot basso dot buffo at gmail dot com  2009-02-26 14:27 -------
$ gcc -O1 -floop-interchange -c huffman.c.pre

huffman.c: In function 'BZ2_hbCreateDecodeTables':
huffman.c:170: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.

$ gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.4.0_pre9999/work/gcc-4.4.0-9999/configure
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.0-pre9999
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0-pre9999/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.0-pre9999
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.0-pre9999/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.0-pre9999/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0-pre9999/include/g++-v4
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--disable-fixed-point --enable-nls --without-included-gettext
--with-system-zlib --disable-checking --disable-werror --enable-secureplt
--enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp
--enable-cld --disable-libgcj --enable-languages=c,c++,fortran --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo SVN' --with-ppl
--with-cloog
Thread model: posix
gcc version 4.4.0-pre9999 built 20090225 (experimental) rev. 144432 (Gentoo
SVN)

I tried incrementally adding each optimization option flag that 'man gcc' says
-O1 enables, but got a clean compile each time. Only with -O1 does the segfault
get triggered.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39308


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]