This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite] Require effective target weak_undefined for visibility-22.c
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Tom de Vries <Tom_deVries at mentor dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Mike Stump <mikestump at comcast dot net>, Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Date: Thu, 14 Dec 2017 14:47:35 +0100
- Subject: Re: [testsuite] Require effective target weak_undefined for visibility-22.c
- Authentication-results: sourceware.org; auth=none
- References: <dbc6cd45-9318-4048-45f7-b469ebbef8b7@mentor.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Dec 14, 2017 at 02:40:12PM +0100, Tom de Vries wrote:
> --- a/gcc/testsuite/gcc.dg/visibility-22.c
> +++ b/gcc/testsuite/gcc.dg/visibility-22.c
> @@ -1,6 +1,7 @@
> /* PR target/32219 */
> /* { dg-do run } */
> /* { dg-require-visibility "" } */
> +/* { dg-require-effective-target weak_undefined } */
> /* { dg-options "-O2 -fPIC" { target fpic } } */
> /* This test requires support for undefined weak symbols. This support
> is not available on hppa*-*-hpux*. The test is skipped rather than
Shouldn't then the:
/* This test requires support for undefined weak symbols. This support
is not available on hppa*-*-hpux*. The test is skipped rather than
xfailed to suppress the warning that would otherwise arise. */
/* { dg-skip-if "" { "hppa*-*-hpux*" "*-*-aix*" "*-*-darwin*" } } */
stuff be dropped too?
Jakub