This is the mail archive of the gcc-patches@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]

Re: [patch] Have cc1 define a __GFORTRAN__ macro when -lang-fortran is used


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


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