------- Comment #2 from aldot at gcc dot gnu dot org  2006-11-09 23:41 -------
Created an attachment (id=12583)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12583&action=view)
slightly smaller testcase

Confirmed.

Works on x86_64, ICEs on i686.
Also ICEs with gcc version 4.2.0 20061018 (experimental)

4.3.0 20061109 (experimental) gives

Breakpoint 1, var_ann (t=0xa7d911b8) at
../../../src/gcc-4.3/gcc/tree-flow-inline.h:130
130       gcc_assert (!t->common.ann || t->common.ann->common.type == VAR_ANN);
(gdb) p *t->common.ann
$9 = {common = {type = VAR_ANN, aux = 0x0, value_handle = 0x0}, vdecl = {common
= {
      type = VAR_ANN, aux = 0x0, value_handle = 0x0}, out_of_ssa_tag = 0, 
    root_var_processed = 0, is_aliased = 1, used = 1, need_phi_state =
NEED_PHI_STATE_MAYBE, 
    in_vuse_list = 0, in_v_may_def_list = 0, is_heapvar = 0, symbol_mem_tag =
0x0, 
    may_aliases = 0x0, partition = 0, root_index = 0, current_def = 0xa7b583f0, 
    subvars = 0x0, escape_mask = 136}, fdecl = {common = {type = VAR_ANN, aux =
0x0, 
      value_handle = 0x0}, reference_vars_info = 0x2c}, stmt = {common = {type
= VAR_ANN, 
      aux = 0x0, value_handle = 0x0}, modified = 0, has_volatile_ops = 0, 
    makes_clobbering_call = 1, bb = 0x0, operands = {def_ops = 0x0, use_ops =
0x0, 
      maydef_ops = 0x0, vuse_ops = 0xa7b583f0, mustdef_ops = 0x0},
addresses_taken = 0x88, 
    uid = 1, histograms = 0x0}}
(gdb) c
Continuing.
./gfcbug4x-pr29788.f90: In function 'try_fit':
./gfcbug4x-pr29788.f90:31: internal compiler error: in var_ann, at
tree-flow-inline.h:130


-- 


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

Reply via email to