https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117840
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > Preprocess comes before fortran parsing and that is by design. Let me expand on that. Preprocessing happens before parsing so 1) \ on the end of a line is a line continuing and the next line is placed on the same line which in this case is a fortran comment. 2) the C style comments are removed during preprocessing and are don't know they are inside a fortran comment at all.