This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37032] including "file.F90" - no CPP processing
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Aug 2008 21:17:49 -0000
- Subject: [Bug fortran/37032] including "file.F90" - no CPP processing
- References: <bug-37032-16565@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from kargl at gcc dot gnu dot org 2008-08-05 21:17 -------
(In reply to comment #1)
> Cf. multiple topic PR 35707.
>
> The problem is that
> include 'file2.F95'
> is not processed through CPP. I'm not sure whether it should and when it should
> (file extension .F/F90/F95/F03/F08/FPP/FOR/fpp, always, or never).
>
The standard simply says the text in file2.F95 is included
at the location of the include line. It does not and suppose
the standard will never discuss whether file2.F95 should be
pre-processed before inclusion.
This looks like pilot error in that Fortran's INCLUDE does not
mean the same thing as C's #include.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37032