This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Have cc1 define a __GFORTRAN__ macro when -lang-fortran is used
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: FX Coudert <fxcoudert at gmail dot com>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc-patches List <gcc-patches at gcc dot gnu dot org>, tromey at redhat dot com
- Date: Sun, 6 May 2007 23:28:18 +0000 (UTC)
- Subject: Re: [patch] Have cc1 define a __GFORTRAN__ macro when -lang-fortran is used
- References: <19c433eb0704250940t7d2b2a8en871b8e4aa6db7702@mail.gmail.com> <6C9FDB0E-C8AA-4D47-B862-DF51D5292761@gmail.com>
On Mon, 7 May 2007, FX Coudert wrote:
> 2007-04-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
>
> PR driver/31694
> * gcc/c-opts.c (lang_fortran): Make it non static.
> * gcc/c-common.h (lang_fortran): New prototype.
> * gcc/c-cppbuiltin.c (c_cpp_builtins): Create a __GFORTRAN__
> if the -lang-fortran option was passed by the driver.
OK. Remember to remove the "gcc/" from the ChangeLog entry before
checking in, since the log belongs in gcc/ChangeLog and filenames are
relative to the directory with the log.
--
Joseph S. Myers
joseph@codesourcery.com