The testsuite gcc.target/spu/intrinsics-1.c fails with a compilation error: /home/meissner/fsf-src/trunk/gcc/testsuite/gcc.target/spu/intrinsics-1.c: In function ‘f’: /home/meissner/fsf-src/trunk/gcc/testsuite/gcc.target/spu/intrinsics-1.c:12: error: parameter list does not match a valid signature for spu_cmpgt() /home/meissner/fsf-src/trunk/gcc/testsuite/gcc.target/spu/intrinsics-1.c:13: warning: passing argument 2 of ‘__builtin_spu_cmpgt_11’ makes integer from pointer without a cast /home/meissner/fsf-src/trunk/gcc/testsuite/gcc.target/spu/intrinsics-1.c:13: note: expected ‘int’ but argument is of type ‘int *’ /home/meissner/fsf-src/trunk/gcc/testsuite/gcc.target/spu/intrinsics-1.c:14: error: parameter list does not match a valid signature for spu_cmpgt() /home/meissner/fsf-src/trunk/gcc/testsuite/gcc.target/spu/intrinsics-1.c:16: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts /home/meissner/fsf-src/trunk/gcc/testsuite/gcc.target/spu/intrinsics-1.c:16: error: incompatible types when assigning to type ‘int __vector__’ from type ‘unsigned int __vector__’
The test case tests for expected failures. It seems there is now an additional message being output: /home/meissner/fsf-src/trunk/gcc/testsuite/gcc.target/spu/intrinsics-1.c:13: warning: passing argument 2 of ‘__builtin_spu_cmpgt_11’ makes integer from pointer without a cast /home/meissner/fsf-src/trunk/gcc/testsuite/gcc.target/spu/intrinsics-1.c:13: note: expected ‘int’ but argument is of type ‘int *’ The testcase checks for the "makes integer from pointer" error, but does not expect the additional "note".
Yes this is only a testcase issue. The new note was introduced by PR 30949.
Subject: Bug 38025 Author: meissner Date: Wed Nov 5 23:45:36 2008 New Revision: 141628 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141628 Log: Fix PR 38025 Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/spu/intrinsics-1.c
Patch applied to tree on November 5th.