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/18428] New: No preprocessing option -cpp for gfortran


Whoops, where has the preprocessing option gone, used to be -cpp ??  Neither
does the -traditional-cpp option work for the fortran front end.

>gfortran -cpp
gfortran unrecognized option »-cpp«
>  gfortran -v testcase_preprocess.f90
.Warning: testcase_preprocess.f90:16: Illegal preprocessor directive
 In file testcase_preprocess.f90:15

  real :: value=0.0E0
              1
Error: Symbol 'value' at (1) already has basic type of REAL
!------------------------------------------------------------------

program test

#ifdef DOUBLE
  double precision :: value=0.0D0
#else
  real :: value=0.0E0
#endif

end program test

-- 
           Summary: No preprocessing option -cpp for gfortran
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: c dot lemmen at fz-juelich dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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