re PR c/88568 ('dllimport' no longer implies 'extern' in C)
authorJakub Jelinek <jakub@redhat.com>
Thu, 10 Jan 2019 10:44:46 +0000 (11:44 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 10 Jan 2019 10:44:46 +0000 (11:44 +0100)
commitdbf02a2cd6652a1e95cce0ea5035ac394c023a00
tree0c6e9a3f9150b451f7b5ba1154b3e27a12171b0c
parentaa6c5afeb2d99d66b129f5568dfc1e9fa7dcf8f8
re PR c/88568 ('dllimport' no longer implies 'extern' in C)

PR c/88568
* attribs.c (handle_dll_attribute): Clear TREE_STATIC after setting
DECL_EXTERNAL.

* gcc.dg/pr88568.c: New test.

From-SVN: r267799
gcc/ChangeLog
gcc/attribs.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr88568.c [new file with mode: 0644]