Fix PR45586 (type confusion ICEs), take 2

Dominique Dhumieres dominiq@lps.ens.fr
Mon Feb 14 22:10:00 GMT 2011


Michael,

With the patch take2, the test for pr47455 in comment #5
( http://gcc.gnu.org/bugzilla/attachment.cgi?id=23136 ) gives an ICE:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x00000001000cd940 in gfc_finish_var_decl (decl=0x141ddc280, sym=0x141c20440) at ../../work/gcc/fortran/trans-decl.c:566
566	      && INTEGER_CST_P (DECL_SIZE_UNIT (decl))
(gdb) bt
#0  0x00000001000cd940 in gfc_finish_var_decl (decl=0x141ddc280, sym=0x141c20440) at ../../work/gcc/fortran/trans-decl.c:566
#1  0x00000001000cc6d3 in gfc_get_symbol_decl (sym=0x141c20440) at ../../work/gcc/fortran/trans-decl.c:1288

This is not the case with the take 1.

Dominique



More information about the Fortran mailing list