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  <ja...@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

Reply via email to