[Bug fortran/95146] gfortran -cpp – leading spaces before '#' preprocessing directive not handled
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 15 07:45:08 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95146
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> Pre ANSI/ISO C (aka K&R C), preprocessor were true preprocessor and always
> required # in the first column.
>
> I think meson should be fixed really to work rather than working around the
> issue in gfortran.
Well, gfortran should finally move to non-traditional, but that's not that
trivial as PR 28662 shows.
→ Close as INVALID as the current behavior is fine with -traditional and the
other is already covered.
More information about the Gcc-bugs
mailing list