decl2.c (determine_visibility): Allow target to override visibility of class data.
authorJulian Brown <julian@codesourcery.com>
Thu, 17 Jul 2008 14:03:50 +0000 (14:03 +0000)
committerJulian Brown <jules@gcc.gnu.org>
Thu, 17 Jul 2008 14:03:50 +0000 (14:03 +0000)
commit711b299844b8eb77451d96a360f4525fc005279e
tree227fab594ab803abac56d2e5bd12c689005f8eac
parent0eae6babe5d9101e825cb8f32bba494642db45af
decl2.c (determine_visibility): Allow target to override visibility of class data.

    gcc/cp/
    * decl2.c (determine_visibility): Allow target to override
    visibility of class data.

    gcc/
    * config/arm/arm.c (arm_cxx_determine_class_data_visibility): Make
    no-op for targets which don't use DLLs.

    gcc/testsuite/
    * g++.dg/ext/visibility/arm3.C: Add explanatory text. Skip on
    non-DLL targets.
    * g++.dg/ext/visibility/arm1.C: Skip on non-DLL targets.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r137922
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/visibility/arm1.C
gcc/testsuite/g++.dg/ext/visibility/arm3.C