[Bug c/88568] [7/8 Regression] 'dllimport' no longer implies 'extern' in C

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 7 14:26:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88568

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb  7 14:26:06 2019
New Revision: 268618

URL: https://gcc.gnu.org/viewcvs?rev=268618&root=gcc&view=rev
Log:
        Backported from mainline
        2019-01-10  Jakub Jelinek  <jakub@redhat.com>

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

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

Added:
    branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr88568.c
Modified:
    branches/gcc-8-branch/gcc/ChangeLog
    branches/gcc-8-branch/gcc/attribs.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list