rs6000: Fix for altivec-macros.c
This fixes the altivec-macros.c testcase; we now need to explicitly say "no column number" for messages without one. gcc/testsuite/ * gcc.target/powerpc/altivec-macros.c: Include "-:" in the messages matched for. From-SVN: r254873
This commit is contained in:
parent
f14419275f
commit
107d4a0f07
@ -1,3 +1,8 @@
|
||||
2017-11-17 Segher Boessenkool <segher@kernel.crashing.org>
|
||||
|
||||
* gcc.target/powerpc/altivec-macros.c: Include "-:" in the messages
|
||||
matched for.
|
||||
|
||||
2017-11-17 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/83017
|
||||
|
@ -23,45 +23,45 @@ _Pragma ("__vector")
|
||||
|
||||
#undef __vector
|
||||
#define __vector __new_vector
|
||||
/* { dg-message "location of the previous" "prev __vector defn" { target *-*-* } .-1 } */
|
||||
/* { dg-message "-:location of the previous" "prev __vector defn" { target *-*-* } .-1 } */
|
||||
|
||||
#undef __pixel
|
||||
#define __pixel __new_pixel
|
||||
/* { dg-message "location of the previous" "prev __pixel defn" { target *-*-* } .-1 } */
|
||||
/* { dg-message "-:location of the previous" "prev __pixel defn" { target *-*-* } .-1 } */
|
||||
|
||||
#undef __bool
|
||||
#define __bool __new_bool
|
||||
/* { dg-message "location of the previous" "prev __bool defn" { target *-*-* } .-1 } */
|
||||
/* { dg-message "-:location of the previous" "prev __bool defn" { target *-*-* } .-1 } */
|
||||
|
||||
#undef vector
|
||||
#define vector new_vector
|
||||
/* { dg-message "location of the previous" "prev vector defn" { target *-*-* } .-1 } */
|
||||
/* { dg-message "-:location of the previous" "prev vector defn" { target *-*-* } .-1 } */
|
||||
|
||||
#undef pixel
|
||||
#define pixel new_pixel
|
||||
/* { dg-message "location of the previous" "prev pixel defn" { target *-*-* } .-1 } */
|
||||
/* { dg-message "-:location of the previous" "prev pixel defn" { target *-*-* } .-1 } */
|
||||
|
||||
#undef bool
|
||||
#define bool new_bool
|
||||
/* { dg-message "location of the previous" "prev bool defn" { target *-*-* } .-1 } */
|
||||
/* { dg-message "-:location of the previous" "prev bool defn" { target *-*-* } .-1 } */
|
||||
|
||||
/* Re-definition of "unconditional" macros. */
|
||||
/* Warnings should be generated as usual. */
|
||||
|
||||
#define __vector __newer_vector
|
||||
/* { dg-warning "redefined" "__vector redefined" { target *-*-* } .-1 } */
|
||||
/* { dg-warning "-:redefined" "__vector redefined" { target *-*-* } .-1 } */
|
||||
|
||||
#define __pixel __newer_pixel
|
||||
/* { dg-warning "redefined" "__pixel redefined" { target *-*-* } .-1 } */
|
||||
/* { dg-warning "-:redefined" "__pixel redefined" { target *-*-* } .-1 } */
|
||||
|
||||
#define __bool __newer_bool
|
||||
/* { dg-warning "redefined" "__bool redefined" { target *-*-* } .-1 } */
|
||||
/* { dg-warning "-:redefined" "__bool redefined" { target *-*-* } .-1 } */
|
||||
|
||||
#define vector newer_vector
|
||||
/* { dg-warning "redefined" "vector redefined" { target *-*-* } .-1 } */
|
||||
/* { dg-warning "-:redefined" "vector redefined" { target *-*-* } .-1 } */
|
||||
|
||||
#define pixel newer_pixel
|
||||
/* { dg-warning "redefined" "pixel redefined" { target *-*-* } .-1 } */
|
||||
/* { dg-warning "-:redefined" "pixel redefined" { target *-*-* } .-1 } */
|
||||
|
||||
#define bool newer_bool
|
||||
/* { dg-warning "redefined" "bool redefined" { target *-*-* } .-1 } */
|
||||
/* { dg-warning "-:redefined" "bool redefined" { target *-*-* } .-1 } */
|
||||
|
Loading…
Reference in New Issue
Block a user