re PR target/16286 (Compile errors on altivec ops after #undef vector)
PR target/16286 * config/rs6000/altivec.h: Replace bool by __bool and pixel by __pixel. testsuite: * gcc.dg/pr16286.c: Also test for bool and pixel. From-SVN: r90194
This commit is contained in:
parent
fccf8fc6d1
commit
3c871f3f9a
@ -1,3 +1,9 @@
|
||||
2004-11-06 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
PR target/16286
|
||||
* config/rs6000/altivec.h: Replace bool by __bool and pixel by
|
||||
__pixel.
|
||||
|
||||
2004-11-06 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* tree-ssa-copyrename.c (rename_ssa_copies): Make it static.
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,7 @@
|
||||
2004-11-06 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* gcc.dg/pr16286.c: Also test for bool and pixel.
|
||||
|
||||
2004-11-06 Joseph S. Myers <joseph@codesourcery.com>
|
||||
|
||||
* gcc.dg/anon-struct-6.c, gcc.dg/anon-struct-7.c,
|
||||
|
@ -9,11 +9,16 @@
|
||||
|
||||
#include <altivec.h>
|
||||
#undef vector
|
||||
#undef pixel
|
||||
#undef bool
|
||||
|
||||
void test(void)
|
||||
{
|
||||
__vector unsigned int a, b;
|
||||
a = vec_and(a, b);
|
||||
vec_step (b);
|
||||
}
|
||||
|
||||
/* { dg-bogus "syntax error before \"vector\"" "-maltivec" { target powerpc*-*-* } 0 } */
|
||||
/* { dg-bogus "(syntax|parse) error before \"vector\"" "-maltivec" { target powerpc*-*-* } 0 } */
|
||||
/* { dg-bogus "(syntax|parse) error before \"vector\"" "-maltivec" { target powerpc*-*-* } 0 } */
|
||||
/* { dg-bogus "(syntax|parse) error before \"vector\"" "-maltivec" { target powerpc*-*-* } 0 } */
|
||||
|
Loading…
Reference in New Issue
Block a user