http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54107
--- Comment #12 from janus at gcc dot gnu.org 2013-01-25 14:43:51 UTC --- Created attachment 29274 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29274 patch v2 Here is an updated version of Mikael's patch, which is free of testsuite regressions. It fixes comment #0, but fails with a very strange backtrace on comment 4: gfortran-4.8: internal compiler error: Segmentation fault (program f951) 0x4069a3 execute /home/jweil/gcc48/trunk/gcc/gcc.c:2789 0x40adb1 do_spec_1 /home/jweil/gcc48/trunk/gcc/gcc.c:4581 0x40e36e process_brace_body /home/jweil/gcc48/trunk/gcc/gcc.c:5838 0x40e18a handle_braces /home/jweil/gcc48/trunk/gcc/gcc.c:5752 0x40ce19 do_spec_1 /home/jweil/gcc48/trunk/gcc/gcc.c:5235 0x40e36e process_brace_body /home/jweil/gcc48/trunk/gcc/gcc.c:5838 0x40e18a handle_braces /home/jweil/gcc48/trunk/gcc/gcc.c:5752 0x40ce19 do_spec_1 /home/jweil/gcc48/trunk/gcc/gcc.c:5235 0x40d225 do_spec_1 /home/jweil/gcc48/trunk/gcc/gcc.c:5340 0x40e36e process_brace_body /home/jweil/gcc48/trunk/gcc/gcc.c:5838 0x40e18a handle_braces /home/jweil/gcc48/trunk/gcc/gcc.c:5752 0x40ce19 do_spec_1 /home/jweil/gcc48/trunk/gcc/gcc.c:5235 0x40e36e process_brace_body /home/jweil/gcc48/trunk/gcc/gcc.c:5838 0x40e18a handle_braces /home/jweil/gcc48/trunk/gcc/gcc.c:5752 0x40ce19 do_spec_1 /home/jweil/gcc48/trunk/gcc/gcc.c:5235 0x40a40b do_spec_2 /home/jweil/gcc48/trunk/gcc/gcc.c:4282 0x40a329 do_spec(char const*) /home/jweil/gcc48/trunk/gcc/gcc.c:4249