I get a segfault compiling qt334 with som options. This problem occurs not with snapshot 20050410, but with current and 2005041.
Michael Cieslinski g++41i -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.1-20050424/configure --prefix=/usr/local/gcc41i -- program-suffix=41i --with-arch=opteron --enable-languages=c,c++ --enable- checking Thread model: posix gcc version 4.1.0 20050424 (experimental) g++41i -O3 -ffast-math --param max-inline-insns-auto=200 -o qlocale.o -c qlocale.ii ../tools/qlocale.cpp: In member function 'QString QLocalePrivate::doubleToString (double, int, QLocalePrivate::DoubleForm, int, unsigned int) const': ../tools/qlocale.cpp:3177: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. running cc1plus in gdb: gdb --args /usr/local/gcc41i/libexec/gcc/x86_64-unknown-linux- gnu/4.1.0/cc1plus -fpreprocessed qlocale.ii -quiet -dumpbase qlocale.ii - march=opteron -auxbase-strip qlocale.o -O3 -version -ffast-math --param max- inline-insns-auto=200 -o /tmp/cc7CX6LY.s GNU gdb Red Hat Linux (6.1post-1.20040607.33rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/tls/libthread_db.so.1". (gdb) r Starting program: /usr/local/gcc41i/libexec/gcc/x86_64-unknown-linux- gnu/4.1.0/cc1plus -fpreprocessed qlocale.ii -quiet -dumpbase qlocale.ii - march=opteron -auxbase-strip qlocale.o -O3 -version -ffast-math --param max- inline-insns-auto=200 -o /tmp/cc7CX6LY.s GNU C++ version 4.1.0 20050424 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.1.0 20050424 (experimental). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Program received signal SIGSEGV, Segmentation fault. is_gimple_stmt (t=0xa5a5a5a5a5a5a5a5) at ../../gcc-4.1-20050424/gcc/tree- gimple.c:196 196 enum tree_code code = TREE_CODE (t); (gdb) where #0 is_gimple_stmt (t=0xa5a5a5a5a5a5a5a5) at ../../gcc-4.1-20050424/gcc/tree- gimple.c:196 #1 0x00000000005845e7 in verify_imm_links (f=0x3ef7a04680, var=Variable "var" is not available. ) at tree-flow-inline.h:55 #2 0x00000000005489ef in verify_use (bb=0x2a95cbe750, def_bb=0x2a95cbe5b0, use_p=0x2a95b26f98, stmt=0x2a962cb8c0, check_abnormal=0 '\0', is_virtual=Variable "is_virtual" is not available. ) at ../../gcc-4.1-20050424/gcc/tree-ssa.c:228 #3 0x0000000000549245 in verify_ssa (check_modified_stmt=1 '\001') at ../../gcc-4.1-20050424/gcc/tree-ssa.c:751 #4 0x000000000054a5f5 in execute_todo (pass=0xc74f60, flags=167, use_required=Variable "use_required" is not available. ) at ../../gcc-4.1-20050424/gcc/tree-optimize.c:516 #5 0x000000000054a8b1 in execute_pass_list (pass=0xc74f60) at ../../gcc-4.1- 20050424/gcc/tree-optimize.c:592 #6 0x000000000054a85f in execute_pass_list (pass=0xbb5960) at ../../gcc-4.1- 20050424/gcc/tree-optimize.c:615 #7 0x000000000054aac1 in tree_rest_of_compilation (fndecl=0x2a959cf0d0) at ../../gcc-4.1-20050424/gcc/tree-optimize.c:727 #8 0x00000000004d4696 in expand_body (fn=0x2a959cf0d0) at ../../gcc-4.1- 20050424/gcc/cp/semantics.c:2991 #9 0x000000000087954e in cgraph_expand_function (node=0x2a959c8680) at ../../gcc-4.1-20050424/gcc/cgraphunit.c:924 #10 0x000000000087a46a in cgraph_optimize () at ../../gcc-4.1- 20050424/gcc/cgraphunit.c:988 #11 0x00000000004810a5 in cp_finish_file () at ../../gcc-4.1- 20050424/gcc/cp/decl2.c:3061 #12 0x0000000000525f3a in c_common_parse_file (set_yydebug=Variable "set_yydebug" is not available. ) at ../../gcc-4.1-20050424/gcc/c-opts.c:1112 #13 0x000000000081eb38 in toplev_main (argc=Variable "argc" is not available. ) at ../../gcc-4.1-20050424/gcc/toplev.c:1000 #14 0x0000003ef781bf6a in __libc_start_main () from /lib64/tls/libc.so.6 #15 0x000000000040260a in _start () #16 0x0000007fbfffe778 in ?? () #17 0x000000000000001c in ?? () #18 0x0000000000000010 in ?? () #19 0x0000007fbfffeba7 in ?? () #20 0x0000007fbfffebec in ?? () #21 0x0000007fbfffebfb in ?? () #22 0x0000007fbfffec06 in ?? () #23 0x0000007fbfffec0d in ?? () #24 0x0000007fbfffec17 in ?? () #25 0x0000007fbfffec22 in ?? () #26 0x0000007fbfffec31 in ?? () #27 0x0000007fbfffec40 in ?? () #28 0x0000007fbfffec4a in ?? () #29 0x0000007fbfffec4e in ?? () #30 0x0000007fbfffec57 in ?? () #31 0x0000007fbfffec63 in ?? () #32 0x0000007fbfffec6b in ?? () #33 0x0000007fbfffec85 in ?? () #34 0x0000007fbfffec88 in ?? () #35 0x0000000000000000 in ?? () (gdb) -- Summary: Segfault in tree-gimple.c:196 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: micis at gmx dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21219