This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite] Fix ultrasparc_vis[23]_hw tests
- From: David Miller <davem at davemloft dot net>
- To: ro at CeBiTec dot Uni-Bielefeld dot DE
- Cc: gcc-patches at gcc dot gnu dot org, ebotcazou at adacore dot com
- Date: Mon, 21 Nov 2011 13:28:34 -0500 (EST)
- Subject: Re: [testsuite] Fix ultrasparc_vis[23]_hw tests
- References: <yddipmdjyzr.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date: Mon, 21 Nov 2011 16:07:04 +0100
> The new gcc.target/sparc/vec-init-[1-3]-vis3.c tests might fail on
> Solaris 10 and 11 with Sun as on non-VIS3 capable hardware
> (e.g. UltraSPARC T2 or UltraSPARC IV) like this:
>
> ld.so.1: vec-init-1-vis3.exe: fatal: vec-init-1-vis3.exe: hardware capability (C
> A_SUNW_HW_1) unsupported: 0x400 [ VIS3 ]
> FAIL: gcc.target/sparc/vec-init-1-vis3.c execution test
>
> This shouldn't happen, the tests should appear as UNSUPPORTED instead. I
> could trace this to the ultrasparc*_hw effective-target tests, which all
> use the ultrasparc_hw keyword, so checking the wrong test. By fixing
> this, the test correctly appear as UNSUPPORTED in an
> sparc-sun-solaris2.11 bootstrap.
>
> Installed on mainline.
Thanks for fixing this.