]> gcc.gnu.org Git - gcc.git/commitdiff
re PR fortran/11301 (ICE with -fno-globals)
authorToon Moene <toon@moene.indiv.nluug.nl>
Sat, 5 Jul 2003 13:37:39 +0000 (15:37 +0200)
committerToon Moene <toon@gcc.gnu.org>
Sat, 5 Jul 2003 13:37:39 +0000 (13:37 +0000)
2003-07-05  Toon Moene  <toon@moene.indiv.nluug.nl>

PR Fortran/11301
* com.c (ffecom_sym_transform_): Only install
FFEINFO_whereGLOBAL symbols in the global binding
level if not -fno-globals.

From-SVN: r68972

gcc/f/ChangeLog
gcc/f/com.c

index 895db166a7741d6b87eee47f3bf232007d613f82..1203559edbab4ae462421eb40170314267dd9367 100644 (file)
@@ -1,3 +1,10 @@
+2003-07-05  Toon Moene  <toon@moene.indiv.nluug.nl>
+
+       PR Fortran/11301
+       * com.c (ffecom_sym_transform_): Only install
+       FFEINFO_whereGLOBAL symbols in the global binding
+       level if not -fno-globals.
+
 Wed Jul  2 21:16:02 2003  Neil Booth  <neil@daikokuya.co.uk>
 
        * top.c (ffe_init_options): Update prototype.
index 56ad42bf98140d45367884424b1aeb4e6fdf2be8..e9a20532404959ed0d7fbf26810aee1102295ef1 100644 (file)
@@ -8078,7 +8078,7 @@ ffecom_sym_transform_ (ffesymbol s)
          DECL_EXTERNAL (t) = 1;
          TREE_PUBLIC (t) = 1;
 
-         t = start_decl (t, TRUE);
+         t = start_decl (t, ffe_is_globals ());
          finish_decl (t, NULL_TREE, TRUE);
 
          if ((g != NULL)
This page took 0.076304 seconds and 5 git commands to generate.