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/40569] New: F2008: Support COMPILER_OPTIONS() / COMPILER_VERSION()


Fortran 2008 adds the two inquiry subroutines, which return a string.

In GCC the version string is in "version.h":
  extern const char version_string[];

The options string has to constructed manually; the question is whether one
wants to skip certain options. Optimally, one would record exactly those
options passed to "gfortran" and not all those options passed to "f951". The
middle end has -frecord-gcc-switches and -fverbose-asm; cf. toplev.c's
print_switch_values.


-- 
           Summary: F2008: Support COMPILER_OPTIONS() / COMPILER_VERSION()
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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