------- Comment #4 from mitul dot thakkar at amd dot com  2008-11-06 19:43 
-------
(In reply to comment #3)
> Created an attachment (id=16628)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16628&action=view) [edit]
> Updated Reduced Test Case


I've attached new reduced test case for the error. 

Getting same error ...

gfortran -c -O3 -floop-block updated_protein.f90

updated_protein.f90: In function 'superficie_proteina':
updated_protein.f90:1: error: type mismatch between an SSA_NAME and its symbol
updated_protein.f90:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


GDB backtrace is giving following information..

(gdb) set args -O3 -floop-block updated_protein.f90
(gdb) r
Starting program: /u/ssa/mthakkar/gcc_latest/graphite_build/gcc/f951 -O3
-floop-block updated_protein.f90
 superficie_proteina
Analyzing compilation unit
Performing interprocedural optimizations
 <visibility> <early_local_cleanups> <summary generate> <cp> <inline>
<static-var> <pure-const>Assembling functions:
 superficie_proteina
updated_protein.f90: In function 'superficie_proteina':
updated_protein.f90:1: error: type mismatch between an SSA_NAME and its symbol

Program received signal SIGSEGV, Segmentation fault.
0x000000000082c99e in verify_use (bb=0x2b649093fa80, def_bb=0x0,
use_p=0x2b649094b630, stmt=0x2b649094b600, check_abnormal=0 '\0',
names_defined_in_bb=0x0)
    at ../../graphite/gcc/tree-ssa.c:367
367       if (gimple_nop_p (SSA_NAME_DEF_STMT (ssa_name))
(gdb) bt
#0  0x000000000082c99e in verify_use (bb=0x2b649093fa80, def_bb=0x0,
use_p=0x2b649094b630, stmt=0x2b649094b600, check_abnormal=0 '\0',
    names_defined_in_bb=0x0) at ../../graphite/gcc/tree-ssa.c:367
#1  0x000000000082e1b3 in verify_phi_args (phi=0x2b649094b600,
bb=0x2b649093f900, definition_block=0x1178a00) at
../../graphite/gcc/tree-ssa.c:477
#2  0x000000000082f41a in verify_ssa (check_modified_stmt=0 '\0') at
../../graphite/gcc/tree-ssa.c:800
#3  0x0000000000b0a09f in gloog (scop=0x1086a80, stmt=<value optimized out>) at
../../graphite/gcc/graphite.c:4396
#4  0x0000000000b0b5d5 in graphite_transform_loops () at
../../graphite/gcc/graphite.c:5268
#5  0x00000000007ece47 in graphite_transforms () at
../../graphite/gcc/tree-ssa-loop.c:298
#6  0x0000000000679548 in execute_one_pass (pass=0xf73f40) at
../../graphite/gcc/passes.c:1279
#7  0x0000000000679785 in execute_pass_list (pass=0xf73f40) at
../../graphite/gcc/passes.c:1327
#8  0x000000000067979d in execute_pass_list (pass=0xf73ca0) at
../../graphite/gcc/passes.c:1328
#9  0x000000000067979d in execute_pass_list (pass=0xf73160) at
../../graphite/gcc/passes.c:1328
#10 0x000000000076dc9c in tree_rest_of_compilation (fndecl=0x2b6490902c00) at
../../graphite/gcc/tree-optimize.c:418
#11 0x00000000008e3554 in cgraph_expand_function (node=0x2b6490902f00) at
../../graphite/gcc/cgraphunit.c:1038
#12 0x00000000008e5325 in cgraph_optimize () at
../../graphite/gcc/cgraphunit.c:1097
#13 0x0000000000490c85 in gfc_be_parse_file (set_yydebug=<value optimized out>)
at ../../graphite/gcc/fortran/f95-lang.c:240
#14 0x000000000071f385 in toplev_main (argc=<value optimized out>, argv=<value
optimized out>) at ../../graphite/gcc/toplev.c:968
#15 0x00002b649014a184 in __libc_start_main () from /lib64/libc.so.6
#16 0x0000000000406869 in _start ()


-- 


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

Reply via email to