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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-01-06
      Known to work|                            |4.8.2
            Summary|Regression: ICE with do     |[4.9 Regression] ICE with
                   |concurrent and internal     |do concurrent and internal
                   |subprogram                  |subprogram
     Ever confirmed|0                           |1
      Known to fail|                            |4.9.0

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The test compiles with r204000 (2013-10-24) and gives an ICE with r204945
(2013-11-18). The backtrace with r206348 is

Program received signal SIGSEGV, Segmentation fault.
get_chain_decl (info=0x143003dc0) at ../../_clean/gcc/tree-nested.c:234
234      tree type = info->frame_type;
(gdb) bt
#0  get_chain_decl (info=0x143003dc0) at ../../_clean/gcc/tree-nested.c:234
#1  0x00000001007c896d in get_nonlocal_debug_decl (info=0x143003dc0,
decl=0x1433444c0) at ../../_clean/gcc/tree-nested.c:851
#2  0x00000001007c8bc9 in convert_nonlocal_reference_op (tp=0x143344658,
walk_subtrees=<optimized out>, data=0x7fff5fbff170)
    at ../../_clean/gcc/tree-nested.c:934
#3  0x000000010094a406 in walk_tree_1 (tp=<optimized out>, func=<optimized
out>, data=<optimized out>, pset=<optimized out>, 
    lh=<optimized out>) at ../../_clean/gcc/tree.c:10925
#4  0x000000010053751f in walk_gimple_op (stmt=<optimized out>,
callback_op=0x1007c8ab0 <convert_nonlocal_reference_op(tree*, int*, void*)>, 
    wi=0x7fff5fbff170) at ../../_clean/gcc/gimple-walk.c:267
#5  0x0000000100537e85 in walk_gimple_stmt (gsi=0x7fff5fbfef70, 
    callback_stmt=0x1007c90c0
<convert_nonlocal_reference_stmt(gimple_stmt_iterator*, bool*,
walk_stmt_info*)>, 
    callback_op=0x1007c8ab0 <convert_nonlocal_reference_op(tree*, int*,
void*)>, wi=0x7fff5fbff170) at ../../_clean/gcc/gimple-walk.c:535
#6  0x00000001005380f1 in walk_gimple_seq_mod (pseq=<optimized out>, 
    callback_stmt=0x1007c90c0
<convert_nonlocal_reference_stmt(gimple_stmt_iterator*, bool*,
walk_stmt_info*)>, 
    callback_op=0x1007c8ab0 <convert_nonlocal_reference_op(tree*, int*,
void*)>, wi=0x7fff5fbff170) at ../../_clean/gcc/gimple-walk.c:58
#7  0x0000000100537fd3 in walk_gimple_stmt (gsi=0x7fff5fbff000, 
    callback_stmt=0x1007c90c0
<convert_nonlocal_reference_stmt(gimple_stmt_iterator*, bool*,
walk_stmt_info*)>, 
    callback_op=0x1007c8ab0 <convert_nonlocal_reference_op(tree*, int*,
void*)>, wi=0x7fff5fbff170) at ../../_clean/gcc/gimple-walk.c:545
#8  0x00000001005380f1 in walk_gimple_seq_mod (pseq=<optimized out>, 
    callback_stmt=0x1007c90c0
<convert_nonlocal_reference_stmt(gimple_stmt_iterator*, bool*,
walk_stmt_info*)>, 
    callback_op=0x1007c8ab0 <convert_nonlocal_reference_op(tree*, int*,
void*)>, wi=0x7fff5fbff170) at ../../_clean/gcc/gimple-walk.c:58
#9  0x0000000100537fd3 in walk_gimple_stmt (gsi=0x7fff5fbff090, 
    callback_stmt=0x1007c90c0
<convert_nonlocal_reference_stmt(gimple_stmt_iterator*, bool*,
walk_stmt_info*)>, 
    callback_op=0x1007c8ab0 <convert_nonlocal_reference_op(tree*, int*,
void*)>, wi=0x7fff5fbff170) at ../../_clean/gcc/gimple-walk.c:545
#10 0x00000001005380f1 in walk_gimple_seq_mod (pseq=<optimized out>, 
    callback_stmt=0x1007c90c0
<convert_nonlocal_reference_stmt(gimple_stmt_iterator*, bool*,
walk_stmt_info*)>, 
    callback_op=0x1007c8ab0 <convert_nonlocal_reference_op(tree*, int*,
void*)>, wi=0x7fff5fbff170) at ../../_clean/gcc/gimple-walk.c:58
#11 0x0000000100537fd3 in walk_gimple_stmt (gsi=0x7fff5fbff120, 
    callback_stmt=0x1007c90c0
<convert_nonlocal_reference_stmt(gimple_stmt_iterator*, bool*,
walk_stmt_info*)>, 
    callback_op=0x1007c8ab0 <convert_nonlocal_reference_op(tree*, int*,
void*)>, wi=0x7fff5fbff170) at ../../_clean/gcc/gimple-walk.c:545
#12 0x00000001005380f1 in walk_gimple_seq_mod (pseq=<optimized out>, 
    callback_stmt=0x1007c90c0
<convert_nonlocal_reference_stmt(gimple_stmt_iterator*, bool*,
walk_stmt_info*)>, 
    callback_op=0x1007c8ab0 <convert_nonlocal_reference_op(tree*, int*,
void*)>, wi=0x7fff5fbff170) at ../../_clean/gcc/gimple-walk.c:58
#13 0x00000001007c7412 in walk_body (callback_stmt=<optimized out>,
callback_op=<optimized out>, info=<optimized out>, pseq=<optimized out>)
    at ../../_clean/gcc/tree-nested.c:603
#14 0x00000001007c940f in walk_all_functions (
    callback_stmt=0x1007c90c0
<convert_nonlocal_reference_stmt(gimple_stmt_iterator*, bool*,
walk_stmt_info*)>, 
    callback_op=0x1007c8ab0 <convert_nonlocal_reference_op(tree*, int*,
void*)>, root=<optimized out>) at ../../_clean/gcc/tree-nested.c:614
#15 0x00000001007ca812 in lower_nested_functions (fndecl=0x14334ae00) at
../../_clean/gcc/tree-nested.c:2675
#16 0x00000001003e115f in analyze_function (node=<optimized out>) at
../../_clean/gcc/cgraphunit.c:656
#17 0x00000001003e23b8 in analyze_functions () at
../../_clean/gcc/cgraphunit.c:1017
#18 0x00000001003e34f3 in finalize_compilation_unit () at
../../_clean/gcc/cgraphunit.c:2310
#19 0x000000010060ddb0 in write_global_declarations () at
../../_clean/gcc/langhooks.c:323
#20 0x0000000100754531 in compile_file () at ../../_clean/gcc/toplev.c:561
#21 0x0000000100756369 in toplev_main (argc=2, argv=0x7fff5fbff520) at
../../_clean/gcc/toplev.c:1887

Reply via email to