http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46809
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-12-05 13:56:38 UTC --- Confirmed as a regression between r162456 and r166102. GDB gives Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 trans_runtime_error_vararg (error=1 '\001', where=0x141947e30, msgid=0x141941ba0 "Pointer actual argument 'b' is not associated", ap=0x7fff5fbfcbb8) at ../../work/gcc/fortran/trans.c:400 400 line = LOCATION_LINE (where->lb->location); (gdb) bt #0 trans_runtime_error_vararg (error=1 '\001', where=0x141947e30, msgid=0x141941ba0 "Pointer actual argument 'b' is not associated", ap=0x7fff5fbfcbb8) at ../../work/gcc/fortran/trans.c:400 #1 0x00000001000ad9d8 in gfc_trans_runtime_check (error=1 '\001', once=0 '\0', cond=0x142818e38, pblock=0x7fff5fbfd320, where=0x141947e30, msgid=0x141941ba0 "Pointer actual argument 'b' is not associated") at ../../work/gcc/fortran/trans.c:486 (gdb) p where->lb $2 = (gfc_linebuf *) 0x0