This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [testsuite] Fix ultrasparc_vis[23]_hw tests


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]