[Bug c++/20225] New: [4.0/4.1 regression] ICE during GC

schwab at suse dot de gcc-bugzilla@gcc.gnu.org
Sun Feb 27 10:47:00 GMT 2005


$ ./cc1plus -fpreprocessed libkspreadpart_la.all_cc.ii -quiet -O -w


Program received signal SIGSEGV, Segmentation fault.
gt_ggc_mx_cgraph_node (x_p=<value optimized out>) at gtype-desc.c:188
188           gt_ggc_m_9tree_node ((*x).decl);
(gdb) bt
#0  gt_ggc_mx_cgraph_node (x_p=<value optimized out>) at gtype-desc.c:188
#1  0x40000000004a3a80 in gt_ggc_mx_cgraph_node (x_p=<value optimized out>)
    at gtype-desc.c:196
#2  0x40000000004a3a80 in gt_ggc_mx_cgraph_node (x_p=<value optimized out>)
    at gtype-desc.c:196
#3  0x40000000004ab120 in gt_ggc_m_P11cgraph_node4htab (
    x_p=<value optimized out>) at gtype-desc.c:1498
#4  0x400000000049eff0 in ggc_mark_roots () at ggc-common.c:118
#5  0x4000000000662110 in ggc_collect () at ggc-page.c:1981
#6  0x400000000066c690 in rest_of_compilation () at passes.c:477
#7  0x4000000000204e40 in execute_pass_list (pass=0x6000000000016e90)
    at tree-optimize.c:533
#8  0x4000000000205600 in tree_rest_of_compilation (fndecl=0x200000000af51fb0)
    at tree-optimize.c:669
#9  0x4000000000131630 in expand_body (fn=0x200000000af51fb0)
    at semantics.c:2977
#10 0x40000000006a0f30 in cgraph_expand_function (node=0x2000000010652e50)
    at cgraphunit.c:832
#11 0x40000000006a3d30 in cgraph_optimize () at cgraphunit.c:1699
#12 0x40000000000afd10 in cp_finish_file () at decl2.c:3032
#13 0x4000000000003630 in finish_file () at cp-lang.c:113
#14 0x40000000001c58a0 in c_common_parse_file (
    set_yydebug=<value optimized out>) at c-opts.c:1096
#15 0x4000000000624380 in toplev_main (argc=<value optimized out>, 
    argv=<value optimized out>) at toplev.c:996
#16 0x40000000001d8380 in main (argc=6, argv=0x60000fffffffa858) at main.c:35
(gdb) p x
$1 = (struct cgraph_node *) 0x0

-- 
           Summary: [4.0/4.1 regression] ICE during GC
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schwab at suse dot de
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: ia64-suse-linux


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



More information about the Gcc-bugs mailing list