r270715 - in /branches/gcc-8-branch/gcc: cp/Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Tue Apr 30 20:31:00 GMT 2019
Author: jakub
Date: Tue Apr 30 20:31:26 2019
New Revision: 270715
URL: https://gcc.gnu.org/viewcvs?rev=270715&root=gcc&view=rev
Log:
Backported from mainline
2019-02-20 Jakub Jelinek <jakub@redhat.com>
PR c++/89405
* decl.c (maybe_commonize_var): When clearing TREE_PUBLIC and
DECL_COMMON, set DECL_INTERFACE_KNOWN.
* g++.dg/cpp1z/inline-var5.C: New test.
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/decl.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp1z/inline-var5.C
More information about the Gcc-cvs
mailing list