[Bug fortran/29975] [meta-bugs] ICEs with CP2K

jv244 at cam dot ac dot uk gcc-bugzilla@gcc.gnu.org
Mon May 21 14:58:00 GMT 2007



------- Comment #100 from jv244 at cam dot ac dot uk  2007-05-21 15:58 -------
(In reply to comment #99)
> (In reply to comment #98)
> > Got CP2K from CVS, created arch/Linux-i686-gfortran.sdbg from its x86-64
> > equivalent and got the ICE described in PR32018.
> 
> thanks for adding this PR. 
> 
> Looking at PR32018, I notice that the segfault you've observed is actually in a
> different subroutine (file) than what I reported above (based on a run on an
> opteron). The file you've extracted compiles fine here. It could still be the
> same issue though.
> 


might be a different issue, the trace I see here is :
(gdb) run -O3 -ftree-vectorize -ffast-math -march=opteron
semi_empirical_int_ana.f90
Starting program:
/scratch/vondele/gcc_trunk/build/libexec/gcc/x86_64-unknown-linux-gnu/4.3.0/f951
-O3 -ftree-vectorize -ffast-math -march=opteron semi_empirical_int_ana.f90
 check_dterep_ana dterep_ana rotint_ana {GC 8106k -> 5800k} dtaper_ana
dnucint_ana check_dnucint_ana invert_derivative invert_integral rotnuc_ana {GC
8112k -> 7433k}
Analyzing compilation unit
 {GC 10372k -> 9175k}Performing interprocedural optimizations
 <visibility> <early_local_cleanups> {GC 14010k -> 13275k} <inline>
<static-var> <pure-const> <type-escape-var>Assembling functions:
 dtaper_ana invert_integral invert_derivative check_dnucint_ana dnucint_ana {GC
17386k -> 12699k} rotnuc_ana {GC 16571k -> 13382k} dterep_ana {GC 17536k ->
11295k}
Program received signal SIGSEGV, Segmentation fault.
verify_ssa_name (ssa_name=0xa5a5a5a5a5a5a5a5, is_virtual=0 '\0') at
/scratch/vondele/gcc_trunk/gcc/gcc/tree-ssa.c:109
109       if (TREE_CODE (ssa_name) != SSA_NAME)
(gdb) bt
#0  verify_ssa_name (ssa_name=0xa5a5a5a5a5a5a5a5, is_virtual=0 '\0') at
/scratch/vondele/gcc_trunk/gcc/gcc/tree-ssa.c:109
#1  0x0000000000784305 in verify_ssa (check_modified_stmt=1 '\001') at
/scratch/vondele/gcc_trunk/gcc/gcc/tree-ssa.c:716
#2  0x00000000006082d5 in execute_function_todo (data=Variable "data" is not
available.
) at /scratch/vondele/gcc_trunk/gcc/gcc/passes.c:918
#3  0x000000000060803b in execute_todo (flags=Variable "flags" is not
available.
) at /scratch/vondele/gcc_trunk/gcc/gcc/passes.c:942
#4  0x000000000060851a in execute_one_pass (pass=0xcc4b80) at
/scratch/vondele/gcc_trunk/gcc/gcc/passes.c:1087
#5  0x000000000060867c in execute_pass_list (pass=0xcc4b80) at
/scratch/vondele/gcc_trunk/gcc/gcc/passes.c:1117
#6  0x000000000060868e in execute_pass_list (pass=0xcc4160) at
/scratch/vondele/gcc_trunk/gcc/gcc/passes.c:1118
#7  0x000000000060868e in execute_pass_list (pass=0xcc3fe0) at
/scratch/vondele/gcc_trunk/gcc/gcc/passes.c:1118
#8  0x000000000060868e in execute_pass_list (pass=0xcc3440) at
/scratch/vondele/gcc_trunk/gcc/gcc/passes.c:1118
#9  0x00000000006d2378 in tree_rest_of_compilation (fndecl=0x2a95b3ca00) at
/scratch/vondele/gcc_trunk/gcc/gcc/tree-optimize.c:406
#10 0x000000000080ff50 in cgraph_expand_function (node=0x2a95c34700) at
/scratch/vondele/gcc_trunk/gcc/gcc/cgraphunit.c:1086
#11 0x00000000008123f2 in cgraph_optimize () at
/scratch/vondele/gcc_trunk/gcc/gcc/cgraphunit.c:1155
#12 0x0000000000465ebd in gfc_be_parse_file (set_yydebug=Variable "set_yydebug"
is not available.
) at /scratch/vondele/gcc_trunk/gcc/gcc/fortran/f95-lang.c:307
#13 0x00000000006818e4 in toplev_main (argc=Variable "argc" is not available.
) at /scratch/vondele/gcc_trunk/gcc/gcc/toplev.c:1051


-- 


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



More information about the Gcc-bugs mailing list