[Bug fortran/92613] Bogus warning with -cpp and -fpreprocessed
albert at tugraz dot at
gcc-bugzilla@gcc.gnu.org
Thu Dec 4 13:54:44 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92613
Christopher Albert <albert at tugraz dot at> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |albert at tugraz dot at
--- Comment #1 from Christopher Albert <albert at tugraz dot at> ---
Created attachment 62992
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62992&action=edit
Fix bogus warning with -cpp -fpreprocessed
This fixes the issue by skipping libcpp initialization and tokenization for
normal compilations when both '-cpp' and '-fpreprocessed' are specified for
Fortran code. Let me know if it works and what is your opinion on that.
More information about the Gcc-bugs
mailing list