aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
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-common.h
parent8fa013c3e01432333222eea1044483988baae1cb (diff)
downloadgcc-2f8e3bd7bd87055806b1180fc5a5b4668b0c28cd.zip
gcc-2f8e3bd7bd87055806b1180fc5a5b4668b0c28cd.tar.gz
gcc-2f8e3bd7bd87055806b1180fc5a5b4668b0c28cd.tar.bz2
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-common.h')
-rw-r--r--gcc/c-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index d4afaec..5e97211 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -254,6 +254,8 @@ extern c_language_kind c_language;
#define c_dialect_cxx() (c_language & clk_cxx)
#define c_dialect_objc() (c_language & clk_objc)
+extern bool lang_fortran;
+
/* Information about a statement tree. */
struct stmt_tree_s GTY(()) {