This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40569] F2008: Support COMPILER_OPTIONS() / COMPILER_VERSION()
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 26 Sep 2010 22:40:27 +0000
- Subject: [Bug fortran/40569] F2008: Support COMPILER_OPTIONS() / COMPILER_VERSION()
- Auto-submitted: auto-generated
- References: <bug-40569-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40569
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-09-26 22:40:26 UTC ---
Basic implementation works. Remains to do:
(a) COMPILER_OPTIONS(): Return a more useful string than ""
(b) "-Wall" gives a bogus warning:
Warning: Type specified for intrinsic function 'compiler_version' at (1)
is ignored
for
use iso_fortran_env, only: compiler_version
print *,compiler_version()
end