This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/35665] FAIL: gfortran.dg/include_2.f90 -O (test for excess error)
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Mar 2008 20:48:55 -0000
- Subject: [Bug driver/35665] FAIL: gfortran.dg/include_2.f90 -O (test for excess error)
- References: <bug-35665-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from danglin at gcc dot gnu dot org 2008-03-22 20:48 -------
The problem seems to be the -fpreprocessed option in the gfortran command.
We need to run the preprocessor to handle the
#ifdef __cplusplus
extern "C" {
#endif
and
#ifdef __cplusplus
}
#endif
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35665