https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62135
Bug ID: 62135 Summary: f951: internal compiler error: Segmentation fault Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: avathis at esd dot ece.ntua.gr Created attachment 33319 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33319&action=edit Error with program listing If (by mistake) in a SELECT CASE block, you type a statement like: CASE ('2':'7','9':'0'), gfortran crashes without giving any clue about the error. The only output is: "f951: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions." If instead you type the statement as: CASE ('9':'0'), program compiles normally, the same is true if you type: CASE ('2':'7','0':'9'). Full test program is attached.