summaryrefslogtreecommitdiff
path: root/gcc/c-opts.c
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2007-05-07 05:48:24 +0000
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2007-05-07 05:48:24 +0000
commit2f8e3bd7bd87055806b1180fc5a5b4668b0c28cd (patch)
tree6305e39d4443bb69859bcffcb753cca8d2996c37 /gcc/c-opts.c
parent8fa013c3e01432333222eea1044483988baae1cb (diff)
downloadgcc-2f8e3bd7bd87055806b1180fc5a5b4668b0c28cd.tar.gz
re PR driver/31694 (__GFORTRAN__ preprocessor macro)
PR driver/31694 * c-opts.c (lang_fortran): Make it non static. * c-common.h (lang_fortran): New prototype. * c-cppbuiltin.c (c_cpp_builtins): Create a __GFORTRAN__ if the -lang-fortran option was passed by the driver. From-SVN: r124495
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r--gcc/c-opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c
index e378f377a0c..a41362a9829 100644
--- a/gcc/c-opts.c
+++ b/gcc/c-opts.c
@@ -73,7 +73,7 @@ static bool deps_seen;
static bool verbose;
/* If -lang-fortran seen. */
-static bool lang_fortran = false;
+bool lang_fortran = false;
/* Dependency output file. */
static const char *deps_file;