https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64506
--- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Author: jvdelisle Date: Fri Feb 13 16:57:28 2015 New Revision: 220687 URL: https://gcc.gnu.org/viewcvs?rev=220687&root=gcc&view=rev Log: 2015-02-13 Jerry DeLisle <jvdeli...@gcc.gnu.org> PR fortran/64506 * scanner.c (gfc_next_char_literal): For free form source, check for '!' and if found, clear the comment and go back and get the next character. For fixed form source, skip the rest of the line. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/scanner.c