aboutsummaryrefslogtreecommitdiff
path: root/gcc/f
diff options
context:
space:
mode:
authorToon Moene <toon@moene.indiv.nluug.nl>2003-07-09 23:12:54 +0200
committerToon Moene <toon@gcc.gnu.org>2003-07-09 21:12:54 +0000
commit64f970fe30cf0144a925e1004fc25a7bc18faa45 (patch)
treeb7fffa5e4ab2d120843445e6fad6aa10311903a4 /gcc/f
parent15e4ea18d363c34ac79b4a63b8634c2444f0ef50 (diff)
downloadgcc-64f970fe30cf0144a925e1004fc25a7bc18faa45.zip
gcc-64f970fe30cf0144a925e1004fc25a7bc18faa45.tar.gz
gcc-64f970fe30cf0144a925e1004fc25a7bc18faa45.tar.bz2
re PR fortran/11301 (ICE with -fno-globals)
2003-07-09 Toon Moene <toon@moene.indiv.nluug.nl> PR Fortran/11301 * com.c (ffecom_sym_transform_): finish_decl should have the same last argument as start_decl. From-SVN: r69155
Diffstat (limited to 'gcc/f')
-rw-r--r--gcc/f/ChangeLog6
-rw-r--r--gcc/f/com.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index 1d4787d..fc48b20 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,9 @@
+2003-07-09 Toon Moene <toon@moene.indiv.nluug.nl>
+
+ PR Fortran/11301
+ * com.c (ffecom_sym_transform_): finish_decl should have
+ the same last argument as start_decl.
+
2003-07-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Make-lang.in (f/g77.dvi): Use PWD_COMMAND.
diff --git a/gcc/f/com.c b/gcc/f/com.c
index 4d2860c..770daf9 100644
--- a/gcc/f/com.c
+++ b/gcc/f/com.c
@@ -8074,7 +8074,7 @@ ffecom_sym_transform_ (ffesymbol s)
TREE_PUBLIC (t) = 1;
t = start_decl (t, ffe_is_globals ());
- finish_decl (t, NULL_TREE, TRUE);
+ finish_decl (t, NULL_TREE, ffe_is_globals ());
if ((g != NULL)
&& ((ffeglobal_type (g) == FFEGLOBAL_typeSUBR)