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 tree-optimization/16443] [3.5 Regression] ICE during linux kernel compilation


------- Additional Comments From ak at muc dot de  2004-07-10 05:54 -------
I played a bit with the options and -m32 -Os -fno-unit-at-a-time 
gives a ICE too, at a slightly different place but with the same
cause:

 gss_mech_svc_setup

Program received signal SIGSEGV, Segmentation fault.
0x00000000004802e3 in get_phi_state (var=0xc1a7e0)
    at ../../gcc/gcc/tree-into-ssa.c:165
165         return var_ann (var)->need_phi_state;
(gdb) bt
#0  0x00000000004802e3 in get_phi_state (var=0xc1a7e0)
    at ../../gcc/gcc/tree-into-ssa.c:165
#1  0x000000000047ebde in register_new_def (def=0x2a9644c380, 
    block_defs_p=0xc24e38) at ../../gcc/gcc/tree-into-ssa.c:1363
#2  0x00000000004a9603 in register_definitions_for_stmt (ann=0x2a9647f900, 
    block_defs_p=0xc24e38) at ../../gcc/gcc/tree-ssa-dom.c:3684
#3  0x00000000004a87f2 in optimize_stmt (walk_data=0x7fbfffdd40, 
    bb=0x2a9647da80, si=
      {tsi = {ptr = 0x2a96476bc0, container = 0x2a9647c270}, bb = 0x2a9647da80})
at ../../gcc/gcc/tree-ssa-dom.c:3117
#4  0x00000000004a9d60 in walk_dominator_tree (walk_data=0x7fbfffdd40, 
    bb=0x2a9647da80) at ../../gcc/gcc/domwalk.c:189


var_ann returns a bogus pointer:

(gdb) p var_ann(var)
$1 = (struct var_ann_d *) 0x5f7373672f737367

Someone corrupted var->common.ann. 0x5f7373672f737367 is ASCII 
gss/gss_, which is a common prefix used in identifiers in the file

-- 


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


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