From: Mumit Khan Date: Thu, 13 Aug 1998 18:25:04 +0000 (+0000) Subject: decl2.c (import_export_class): Don't use dllexport attribute as a heuristic. X-Git-Tag: prereleases/egcs-1.1-prerelease~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51800ea362cd7d46f226a3a5e4ea7bfacd8b0476;p=thirdparty%2Fgcc.git decl2.c (import_export_class): Don't use dllexport attribute as a heuristic. * decl2.c (import_export_class): Don't use dllexport attribute as a heuristic. From-SVN: r21703 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a845e48794dc..3a9ad524b83e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +1998-08-13 Mumit Khan + + * decl2.c (import_export_class): Don't use dllexport + attribute as a heuristic. + 1998-07-29 Jason Merrill * decl.c (push_overloaded_decl): Use current_namespace instead of diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 901f56587229..cc2c3332c514 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -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