diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2238dae00f7..d98ba983d4d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-11-17 Segher Boessenkool + + * gcc.target/powerpc/altivec-macros.c: Include "-:" in the messages + matched for. + 2017-11-17 Richard Biener PR tree-optimization/83017 diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-macros.c b/gcc/testsuite/gcc.target/powerpc/altivec-macros.c index 91bf120cf8c..e5a09308ea6 100644 --- a/gcc/testsuite/gcc.target/powerpc/altivec-macros.c +++ b/gcc/testsuite/gcc.target/powerpc/altivec-macros.c @@ -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 } */