Avoid duplicate visibility warning.
authorJason Merrill <jason@redhat.com>
Mon, 20 Nov 2017 22:37:45 +0000 (17:37 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 20 Nov 2017 22:37:45 +0000 (17:37 -0500)
commit753c2e693fd35b582b34e66ac877cd1a4a385be7
treee66a86164272ab68bb596ec52269d2a4674ce924
parente324f9cb921234b80c809f8ffbd7ef2d55d583bc
Avoid duplicate visibility warning.

* decl2.c (constrain_class_visibility): Don't warn about artificial
fields.

From-SVN: r254973
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/g++.dg/ext/visibility/warn6.C [new file with mode: 0644]