https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66461

--- Comment #20 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Mikael Morin from comment #19)
> 
> what I don't understand is that error itself, 

It comes from scanner.c's end_flag which is cleared on the first match, but it
is set at some point later, and it's not restored to its cleared state when the
locus is restored before the second match.
The end_flag basically disables all of the continuation and comment lines
handling in gfc_next_char_literal.

Reply via email to