public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/18718] New: ICE: Segmentation fault in in schedule_region (rgn=0) at sched-rgn.c:2325
@ 2004-11-29 15:46 micis at gmx dot de
  2004-11-29 15:48 ` [Bug middle-end/18718] " micis at gmx dot de
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: micis at gmx dot de @ 2004-11-29 15:46 UTC (permalink / raw)
  To: gcc-bugs

I compiled ACE 5.4.2 with the actual snapshot and got a segfault.

GCC was compiled with CFLAGS="-pipe -g -O3 -mcpu=G5 -maltivec -mabi=altivec -
fmessage-length=0 -falign-loops=16 -falign-jumps=16 -falign-functions=32 -
fstrict-aliasing -fsched-interblock -ffast-math -funroll-all-loops -funit-at-a-
time -fpeel-loops -ftracer -funswitch-loops -floop-optimize2 -fmove-loop-
invariants -fgcse-after-reload -frename-registers -fmodulo-sched --param max-
gcse-passes=5 --param max-unrolled-insns=600 --param inline-unit-growth=300 --
param large-function-growth=400"

Michael Cieslinski



g++40 -pipe -O2 -funroll-all-loops -ftracer -c -o SAXPrint_Handler.o 
SAXPrint_Handler.ii -v
Reading specs from /usr/local/gcc40b/lib/gcc/powerpc-unknown-linux-
gnu/4.0.0/specs
Configured with: ../gcc40/configure --prefix=/usr/local/gcc40b --program-
suffix=40b --with-cpu=G5 --enable-altivec --enable-languages=c,c++ --enable-
checking
Thread model: posix
gcc version 4.0.0 20041128 (experimental)
 /usr/local/gcc40b/libexec/gcc/powerpc-unknown-linux-gnu/4.0.0/cc1plus -
fpreprocessed SAXPrint_Handler.ii -quiet -dumpbase SAXPrint_Handler.ii -
mcpu=G5 -auxbase-strip SAXPrint_Handler.o -O2 -version -funroll-all-loops -
ftracer -o - |
 as -mpower4 -maltivec -many -V -Qy -o SAXPrint_Handler.o -
GNU assembler version 2.15.90 (ppc-redhat-linux) using BFD version 2.15.90 
20040225
GNU C++ version 4.0.0 20041128 (experimental) (powerpc-unknown-linux-gnu)
        compiled by GNU C version 4.0.0 20041128 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
SAXPrint_Handler.cpp: In member function 'void 
ACEXML_SAXPrint_Handler::print_indent()':
SAXPrint_Handler.cpp:244: internal compiler error: Segmentation fault
Please submit a full bug report, with preprocessed source if appropriate.


Running cc1plus in GDB:

Program received signal SIGSEGV, Segmentation fault.
0x105218b0 in schedule_region (rgn=0) at ../../gcc40/gcc/sched-rgn.c:2325
2325              for (note = REG_NOTES (head); note; note = XEXP (note, 1))

(gdb) bt
#0  0x105218b0 in schedule_region (rgn=0) at ../../gcc40/gcc/sched-rgn.c:2325
#1  0x105236fc in schedule_insns (dump_file=Variable "dump_file" is not 
available.
) at ../../gcc40/gcc/sched-rgn.c:2493
#2  0x1046dac4 in rest_of_compilation () at ../../gcc40/gcc/passes.c:651
#3  0x1018460c in execute_pass_list (pass=0x106fce80) at ../../gcc40/gcc/tree-
optimize.c:511
#4  0x101849f8 in tree_rest_of_compilation (fndecl=0x30b99000) 
at ../../gcc40/gcc/tree-optimize.c:647
#5  0x100f72fc in expand_body (fn=0x30b99000) 
at ../../gcc40/gcc/cp/semantics.c:2895
#6  0x104995e0 in cgraph_expand_function (node=0x30ba8200) 
at ../../gcc40/gcc/cgraphunit.c:822
#7  0x1049a684 in cgraph_optimize () at ../../gcc40/gcc/cgraphunit.c:1689
#8  0x10092af0 in cp_finish_file () at ../../gcc40/gcc/cp/decl2.c:3070
#9  0x100017a0 in finish_file () at ../../gcc40/gcc/cp/cp-lang.c:113
#10 0x101547f4 in c_common_parse_file (set_yydebug=Variable "set_yydebug" is 
not available.
) at ../../gcc40/gcc/c-opts.c:1093
#11 0x1043a4f8 in toplev_main (argc=Variable "argc" is not available.
) at ../../gcc40/gcc/toplev.c:992
#12 0x10160be0 in main (argc=Variable "argc" is not available.
) at ../../gcc40/gcc/main.c:35

-- 
           Summary: ICE: Segmentation fault in in schedule_region (rgn=0) at
                    sched-rgn.c:2325
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        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: powerpc-unknown-linux-gnu
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-12-03 23:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-29 15:46 [Bug middle-end/18718] New: ICE: Segmentation fault in in schedule_region (rgn=0) at sched-rgn.c:2325 micis at gmx dot de
2004-11-29 15:48 ` [Bug middle-end/18718] " micis at gmx dot de
2004-11-29 16:14 ` pinskia at gcc dot gnu dot org
2004-11-29 16:20 ` [Bug middle-end/18718] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-11-29 16:55 ` pinskia at gcc dot gnu dot org
2004-11-29 18:11 ` pinskia at gcc dot gnu dot org
2004-11-30  3:25 ` amodra at bigpond dot net dot au
2004-11-30  3:57 ` amodra at bigpond dot net dot au
2004-11-30  4:48 ` pinskia at gcc dot gnu dot org
2004-11-30  4:49 ` amodra at bigpond dot net dot au
2004-11-30 12:44 ` steven at gcc dot gnu dot org
2004-12-03 11:43 ` steven at gcc dot gnu dot org
2004-12-03 23:05 ` amodra at bigpond dot net dot au
2004-12-03 23:55 ` amodra at bigpond dot net dot au

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).