------- Comment #1 from pault at gcc dot gnu dot org  2006-08-04 19:36 -------
This is a rather worrying regression:

Andrew, does this ring any bells?

Program received signal SIGSEGV, Segmentation fault.
get_frame_type (info=0x0) at ../../trunk/gcc/tree-nested.c:212
warning: Source file is more recent than executable.

212     static tree
(gdb) backtrace
#0  get_frame_type (info=0x0) at ../../trunk/gcc/tree-nested.c:212
#1  0x0811d0f9 in get_chain_decl (info=0x89e4c0)
    at ../../trunk/gcc/tree-nested.c:328
#2  0x0811ed31 in get_nonlocal_debug_decl (info=0x89e4c0, decl=0xabe0b0)
    at ../../trunk/gcc/tree-nested.c:843
#3  0x08120f26 in convert_nonlocal_reference (tp=0xab9238,
    walk_subtrees=0xbf949178, data=0xbf949260)
    at ../../trunk/gcc/tree-nested.c:918
#4  0x083b479d in walk_tree (tp=0xab9238,
    func=0x8120e80 <convert_nonlocal_reference>, data=0xbf949260, pset=0x0)
    at ../../trunk/gcc/tree.c:7405
#5  0x0811f712 in walk_stmts (wi=0xbf949260, tp=0xb05494)
    at ../../trunk/gcc/tree-nested.c:621
#6  0x0811f475 in walk_stmts (wi=0xbf949260, tp=0xafb1b0)
    at ../../trunk/gcc/tree-nested.c:568
#7  0x0811f3df in walk_stmts (wi=0xbf949260, tp=0xb0ec98)
    at ../../trunk/gcc/tree-nested.c:598
#8  0x0811fc01 in walk_body (callback=Variable "callback" is not available.
) at ../../trunk/gcc/tree-nested.c:646
#9  0x08122423 in walk_all_functions (
    callback=0x8120e80 <convert_nonlocal_reference>, root=0x89e4c0)
    at ../../trunk/gcc/tree-nested.c:654
#10 0x081225dc in lower_nested_functions (fndecl=0xb0ec40)
    at ../../trunk/gcc/tree-nested.c:1896

It seems to me that I have seen it somewhere else.

Paul


-- 

pault at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.2.0
      Known to work|4.2.0 4.1.2                 |4.1.2 4.0.3


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

Reply via email to