summaryrefslogtreecommitdiffstats
path: root/gcc/f
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-02 01:03:47 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-02 01:03:47 +0000
commita45495831fc0a10be05ced025adc81e8224a608e (patch)
tree43f54cdf446fa1bfa1add9a724d589f75f644c16 /gcc/f
parenta19b96682e7d8a5423d9a32aa4623cf90bb56fb3 (diff)
downloadppe42-gcc-a45495831fc0a10be05ced025adc81e8224a608e.tar.gz
ppe42-gcc-a45495831fc0a10be05ced025adc81e8224a608e.zip
* gcc.c, cp/lang-specs.h, f/lang-specs.h, java/lang-specs.h,
objc/lang-specs.h: Add zero initializer for cpp_spec field to all array elements. * cp/lang-specs.h: Don't put an #ifdef inside the initializer list; set a default for CPLUSPLUS_CPP_SPEC and use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40173 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/f')
-rw-r--r--gcc/f/ChangeLog5
-rw-r--r--gcc/f/lang-specs.h22
2 files changed, 16 insertions, 11 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index 7ce616e01b9..eed6076263b 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-01 Zack Weinberg <zackw@stanford.edu>
+
+ * lang-specs.h: Add zero initializer for cpp_spec field to all
+ array elements.
+
2001-02-24 Zack Weinberg <zackw@stanford.edu>
* com.c: Don't define STDC_HEADERS, autoconf handles it.
diff --git a/gcc/f/lang-specs.h b/gcc/f/lang-specs.h
index 46f54e33b31..7aecf31d647 100644
--- a/gcc/f/lang-specs.h
+++ b/gcc/f/lang-specs.h
@@ -24,23 +24,23 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
/* This is the contribution to the `default_compilers' array in gcc.c for
g77. */
- {".F", "@f77-cpp-input"},
- {".fpp", "@f77-cpp-input"},
- {".FPP", "@f77-cpp-input"},
+ {".F", "@f77-cpp-input", 0},
+ {".fpp", "@f77-cpp-input", 0},
+ {".FPP", "@f77-cpp-input", 0},
{"@f77-cpp-input",
"tradcpp0 -lang-fortran %(cpp_options) %{!M:%{!MM:%{!E:%{!pipe:%g.f |\n\
- f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%(invoke_as)}}}}}"},
- {".r", "@ratfor"},
+ f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%(invoke_as)}}}}}", 0},
+ {".r", "@ratfor", 0},
{"@ratfor",
"%{C:%{!E:%eGNU C does not support -C without using -E}}\
ratfor %{C} %{v} %i %{E:%W{o*}} %{!E: %{!pipe:-o %g.f} |\n\
- f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%(invoke_as)}}"},
- {".f", "@f77"},
- {".for", "@f77"},
- {".FOR", "@f77"},
+ f771 %{!pipe:%g.f} %(cc1_options) %{I*} %{!fsyntax-only:%(invoke_as)}}", 0},
+ {".f", "@f77", 0},
+ {".for", "@f77", 0},
+ {".FOR", "@f77", 0},
{"@f77",
"%{!M:%{!MM:%{!E:f771 %i %(cc1_options) %{I*}\
- %{!fsyntax-only:%(invoke_as)}}}}"},
+ %{!fsyntax-only:%(invoke_as)}}}}", 0},
/* XXX This is perverse and should not be necessary. */
{"@f77-version",
"tradcpp0 -lang-fortran %(cpp_options) %j \n\
@@ -56,4 +56,4 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
%{!nostdlib:%{!nodefaultlibs:%G %L %G}} \
%{!A:%{!nostdlib:%{!nostartfiles:%E}}} \
%{T*} \n\
- %g \n"},
+ %g \n", 0},
OpenPOWER on IntegriCloud