------- Comment #4 from tbptbp at gmail dot com  2006-01-27 18:04 -------
I'm not sure it's a dupe & fixed, because it also triggered with exceptions
disabled.

I don't know if the patch for PR/25873 has been applied to the gomp branch or
not,  if not please ignore the spam, but with a fresh svn checkout (110300) i
get:

/usr/local/gomp-110300/libexec/gcc/x86_64-unknown-linux-gnu/4.2.0-gomp-20050608-branch/cc1plus
\
        -fpreprocessed raytrace_packet.ii \
        -quiet -dumpbase raytrace_packet.cpp \
        -mtune=generic -auxbase-strip bin/gcc/raytrace_packet.o  \
        -version -fopenmp \
        -o raytrace_packet.s

GNU C++ version 4.2.0-gomp-20050608-branch 20060126 (experimental) (merged
20060126) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.2.0-gomp-20050608-branch 20060126
(experimental) (merged 20060126).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: b7c38ddb04380359d35e2b2068ab186c
src/raytrace_packet_aa.cpp: In member function 'void
rt::raytracer_t::prender_supa() [with unsigned int flags = 2u]':
src/raytrace_packet_aa.cpp:710: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

(gdb) run
Starting program:
/usr/local/gomp-110300/libexec/gcc/x86_64-unknown-linux-gnu/4.2.0-gomp-20050608-branch/cc1plus
-fpreprocessed raytrace_packet.ii -quiet -dumpbase raytrace_packet.cpp
-mtune=generic -auxbase-strip bin/gcc/raytrace_packet.o -version -fopenmp -o
raytrace_packet.s
GNU C++ version 4.2.0-gomp-20050608-branch 20060126 (experimental) (merged
20060126) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.2.0-gomp-20050608-branch 20060126
(experimental) (merged 20060126).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: b7c38ddb04380359d35e2b2068ab186c

Program received signal SIGSEGV, Segmentation fault.
ggc_set_mark (p=0xafafafafafafafaf) at ../../gcc/ggc-page.c:588
588       while (table->high_bits != high_bits)
(gdb) bt
#0  ggc_set_mark (p=0xafafafafafafafaf) at ../../gcc/ggc-page.c:588
#1  0x00000000006ecec8 in gt_ggc_mx_basic_block_def (x_p=<value optimized out>)
at gtype-desc.c:462
#2  0x00000000006ed26f in gt_ggc_mx_VEC_basic_block_gc (x_p=<value optimized
out>) at gtype-desc.c:193
#3  0x00000000006ed2d3 in gt_ggc_mx_control_flow_graph (x_p=<value optimized
out>) at gtype-desc.c:624
#4  0x00000000006ed38f in gt_ggc_mx_function (x_p=<value optimized out>) at
gtype-desc.c:639
#5  0x00000000004dc077 in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at gt-cp-tree.h:320
#6  0x00000000004ef847 in gt_ggc_mx_cp_binding_level (x_p=<value optimized
out>) at gt-cp-name-lookup.h:65
#7  0x00000000004db90e in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at gt-cp-tree.h:541
#8  0x00000000004dbc54 in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at gt-cp-tree.h:285
#9  0x00000000004dbdde in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at gt-cp-tree.h:344
#10 0x00000000004dc2cb in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at gt-cp-tree.h:362
#11 0x00000000004dbd6f in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at gt-cp-tree.h:326
#12 0x00000000004dba35 in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at gt-cp-tree.h:114
#13 0x00000000004dbd8b in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at gt-cp-tree.h:328
#14 0x00000000004dba35 in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at gt-cp-tree.h:114
#15 0x00000000004dbd7d in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at gt-cp-tree.h:327
#16 0x00000000004dbd53 in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at gt-cp-tree.h:324
#17 0x00000000004dbb65 in gt_ggc_mx_lang_tree_node (x_p=<value optimized out>)
at gt-cp-tree.h:204
#18 0x00000000006e6bb7 in gt_ggc_mx_cgraph_varpool_node (x_p=<value optimized
out>) at gtype-desc.c:115
#19 0x00000000006e3687 in ggc_mark_roots () at ../../gcc/ggc-common.c:118
#20 0x0000000000887a9a in ggc_collect () at ../../gcc/ggc-page.c:1880
#21 0x0000000000889059 in execute_todo (pass=0xc5ada0, flags=2,
use_required=<value optimized out>) at ../../gcc/passes.c:781
#22 0x00000000008892cf in execute_one_pass (pass=0xc5ada0) at
../../gcc/passes.c:863
#23 0x000000000088933c in execute_pass_list (pass=0xc5ada0) at
../../gcc/passes.c:885
#24 0x0000000000558e0a in tree_rest_of_compilation (fndecl=0x2aaaac480700) at
../../gcc/tree-optimize.c:412
#25 0x00000000004d0d08 in expand_body (fn=0x2aaaac480700) at
../../gcc/cp/semantics.c:3012
#26 0x00000000008d6a66 in cgraph_expand_function (node=0x2aaaac4def00) at
../../gcc/cgraphunit.c:1098
#27 0x00000000008d8fe8 in cgraph_optimize () at ../../gcc/cgraphunit.c:1164
#28 0x000000000047e01f in cp_finish_file () at ../../gcc/cp/decl2.c:3115
#29 0x000000000052ec0a in c_common_parse_file (set_yydebug=<value optimized
out>) at ../../gcc/c-opts.c:1148
#30 0x000000000085b428 in toplev_main (argc=<value optimized out>, argv=0x0) at
../../gcc/toplev.c:990
#31 0x00002aaaaabdf4ca in __libc_start_main () from /lib/libc.so.6
#32 0x000000000040271a in _start () at ../sysdeps/x86_64/elf/start.S:113
(gdb)


-- 


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

Reply via email to