public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/40569]  New: F2008: Support COMPILER_OPTIONS() / COMPILER_VERSION()
@ 2009-06-27 16:16 burnus at gcc dot gnu dot org
  2009-06-27 19:44 ` [Bug fortran/40569] " burnus at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-06-27 16:16 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-09-28 19:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-40569-4@http.gcc.gnu.org/bugzilla/>
2010-09-25 15:33 ` [Bug fortran/40569] F2008: Support COMPILER_OPTIONS() / COMPILER_VERSION() burnus at gcc dot gnu.org
2010-09-26  7:33 ` burnus at gcc dot gnu.org
2010-09-27  9:42 ` burnus at gcc dot gnu.org
2010-09-27 10:25 ` burnus at gcc dot gnu.org
2010-09-27 10:28 ` burnus at gcc dot gnu.org
2010-09-27 11:08 ` burnus at gcc dot gnu.org
2010-09-28 14:03 ` Joost.VandeVondele at pci dot uzh.ch
2010-09-29  2:56 ` burnus at gcc dot gnu.org
2010-09-29  3:33 ` burnus at gcc dot gnu.org
2010-09-29  7:40 ` burnus at gcc dot gnu.org
2009-06-27 16:16 [Bug fortran/40569] New: " burnus at gcc dot gnu dot org
2009-06-27 19:44 ` [Bug fortran/40569] " burnus at gcc dot gnu dot org
2009-07-05  9:16 ` fxcoudert at gcc dot gnu dot org
2009-07-05  9:16 ` fxcoudert at gcc dot gnu dot org
2010-06-23 16:46 ` burnus at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).