This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/29497] New: Problem with preprocessor directive -x f95-cpp-input


On Mac OS X PowerPC G4, I type:
gfortran -x f95-cpp-input -DNDIM=3 toto.f90 -o toto
and the compilation of the source was OK, but at link time, I got
In file toto.o:1
\xFE\xED\xFA\xCE\x12\x01\x03\x01(
\x01\xC0\x9D\xA0\x01D\x9D\xA0\x07\x07\x02__text__TEXT\x01D\x80__data__DATA\x9D\xA0\x01D\x03\x02\x18\x9E\xE4^\xA3L
1
Error: Unclassifiable statement at (1)

So I tried to remove the preprocessor directive
gfortran toto.o -o toto
and everything went fine !
It is a minor problem, but, if cured, it will make compilation
and link working at the same time, a more comfortable situation.
Cheers;
Romain


-- 
           Summary: Problem with preprocessor directive -x f95-cpp-input
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: romain dot teyssier at cea dot fr


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29497


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]