]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
decl2.c (import_export_class): Don't use dllexport attribute as a heuristic.
authorMumit Khan <khan@xraylith.wisc.edu>
Thu, 13 Aug 1998 18:25:04 +0000 (18:25 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 13 Aug 1998 18:25:04 +0000 (14:25 -0400)
* decl2.c (import_export_class): Don't use dllexport
attribute as a heuristic.

From-SVN: r21703

gcc/cp/ChangeLog
gcc/cp/decl2.c

index a845e48794dce4aba1dacafcdaeca87f15f29568..3a9ad524b83ea1d331bde24d6cf67120e3fa8db2 100644 (file)
@@ -1,3 +1,8 @@
+1998-08-13  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * decl2.c (import_export_class): Don't use dllexport
+       attribute as a heuristic.
+
 1998-07-29  Jason Merrill  <jason@yorick.cygnus.com>
 
        * decl.c (push_overloaded_decl): Use current_namespace instead of
index 901f56587229d605a608fcdafa70b52009b8888f..cc2c3332c5146513eecf501ac01c396245b7ac88 100644 (file)
@@ -2610,8 +2610,6 @@ import_export_class (ctype)
   /* FIXME this should really use some sort of target-independent macro.  */
   if (lookup_attribute ("dllimport", TYPE_ATTRIBUTES (ctype)))
     import_export = -1;
-  else if (lookup_attribute ("dllexport", TYPE_ATTRIBUTES (ctype)))
-    import_export = 1;
 #endif
 
   /* If we got -fno-implicit-templates, we import template classes that