diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-07 05:48:24 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-07 05:48:24 +0000 |
commit | e297ac285850d36c48ba476e478838f9b0276960 (patch) | |
tree | 6305e39d4443bb69859bcffcb753cca8d2996c37 /gcc/c-common.h | |
parent | b1b1bb64f6c7c6971b03ca64aa0ce53f88dfa8b6 (diff) | |
download | gcc-e297ac285850d36c48ba476e478838f9b0276960.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124495 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index d4afaec4535..5e97211cb17 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(()) { |