diff options
author | midipix <writeonce@midipix.org> | 2019-02-02 00:29:57 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-02-02 00:29:57 -0500 |
commit | 023e5ba41c59c0d898686a60f1d88cf0d460e113 (patch) | |
tree | 419572338ed5c7f20285d70be3aef373883932f1 /gcc | |
parent | 6f6635d1a6a89ee31ed881074447f859f5e15e83 (diff) | |
download | cbb-gcc-4.6.4-023e5ba41c59c0d898686a60f1d88cf0d460e113.tar.bz2 cbb-gcc-4.6.4-023e5ba41c59c0d898686a60f1d88cf0d460e113.tar.xz |
PE targets: do not confine the dllexport attribute to the default visibility.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-family/c-common.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index eaf129340..e5fbe0dff 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -6952,10 +6952,6 @@ handle_visibility_attribute (tree *node, tree name, tree args, && lookup_attribute ("dllimport", attributes)) error ("%qD was declared %qs which implies default visibility", decl, "dllimport"); - else if (TARGET_DLLIMPORT_DECL_ATTRIBUTES - && lookup_attribute ("dllexport", attributes)) - error ("%qD was declared %qs which implies default visibility", - decl, "dllexport"); } DECL_VISIBILITY (decl) = vis; |