* decl.c (cp_finish_decl): When bailing on a comdat variable, also
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Jan 1998 13:33:39 +0000 (13:33 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Jan 1998 13:33:39 +0000 (13:33 +0000)
unset DECL_NOT_REALLY_EXTERN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17477 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/NEWS
gcc/cp/decl.c

index 795a404..09d9f46 100644 (file)
@@ -1,5 +1,8 @@
 Sun Jan 25 03:30:00 1998  Jason Merrill  <jason@yorick.cygnus.com>
 
+       * decl.c (cp_finish_decl): When bailing on a comdat variable, also
+       unset DECL_NOT_REALLY_EXTERN.
+
        * parse.y (typename_sub*): Fix std::.
 
 Sat Jan 24 12:13:54 1998  Jason Merrill  <jason@yorick.cygnus.com>
index 7548830..f102109 100644 (file)
@@ -1,4 +1,10 @@
-*** Changes since G++ version 2.7.2:
+*** Changes since EGCS 1.0:
+
+* Template template parameters are now supported.
+
+* operator new now throws bad_alloc where appropriate.
+
+*** Changes in EGCS 1.0:
 
 * A public review copy of the December 1996 Draft of the ISO/ANSI C++
   standard is now available. See
@@ -61,7 +67,6 @@
   Still not supported:
 
      + Member class templates.
-     + Template template parameters.
      + Template friends.
 
 * Exception handling support has been significantly improved and is on by
index a6075e0..cc69caa 100644 (file)
@@ -6841,9 +6841,12 @@ cp_finish_decl (decl, init, asmspec_tree, need_pop, flags)
              if (flag_weak)
                make_decl_one_only (decl);
              else
-               /* we can't do anything useful; leave vars for explicit
-                   instantiation.  */
-               DECL_EXTERNAL (decl) = 1;
+               {
+                 /* we can't do anything useful; leave vars for explicit
+                    instantiation.  */
+                 DECL_EXTERNAL (decl) = 1;
+                 DECL_NOT_REALLY_EXTERN (decl) = 0;
+               }
            }
        }