http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59093
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- I see the segmentation fault from 4.4 up to trunk. The backtrace for revision 204648 is Program received signal SIGSEGV, Segmentation fault. 0x0000000100109a88 in gfc_trans_pointer_assignment (expr1=<value optimized out>, expr2=<value optimized out>) at ../../_clean/gcc/fortran/trans-expr.c:6622 6622 gfc_add_modify (&lse.post, GFC_DECL_SPAN(decl), tmp); (gdb) bt #0 0x0000000100109a88 in gfc_trans_pointer_assignment (expr1=<value optimized out>, expr2=<value optimized out>) at ../../_clean/gcc/fortran/trans-expr.c:6622 #1 0x00000001000c8007 in trans_code (code=<value optimized out>, cond=<value optimized out>) at ../../_clean/gcc/fortran/trans.c:1639 #2 0x000000010012adc5 in gfc_trans_if_1 (code=<value optimized out>) at ../../_clean/gcc/fortran/trans-stmt.c:985 #3 0x00000001001320ad in gfc_trans_if (code=<value optimized out>) at ../../_clean/gcc/fortran/trans-stmt.c:1016 #4 0x00000001000c7e48 in trans_code (code=<value optimized out>, cond=<value optimized out>) at ../../_clean/gcc/fortran/trans.c:1719 #5 0x00000001000f4a69 in gfc_generate_function_code (ns=<value optimized out>) at ../../_clean/gcc/fortran/trans-decl.c:5528 #6 0x00000001000c99f2 in gfc_generate_module_code (ns=<value optimized out>) at ../../_clean/gcc/fortran/trans.c:1955 #7 0x00000001000822a9 in gfc_parse_file () at ../../_clean/gcc/fortran/parse.c:4523 #8 0x00000001000c34e6 in gfc_be_parse_file () at ../../_clean/gcc/fortran/f95-lang.c:189 #9 0x00000001008107b4 in compile_file () at ../../_clean/gcc/toplev.c:545 #10 0x000000010081295a in toplev_main (argc=2, argv=0x7fff5fbfd8f0) at ../../_clean/gcc/toplev.c:1891 #11 0x000000010000aba4 in _Unwind_Find_FDE (pc=0x7fff5fbfd8e0, bases=0x0) at ../../../_clean/libgcc/unwind-dw2-fde.c:1029