diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a6086a4807c..b9d26f13362 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-11-20 Christophe Lyon + + * gcc.target/arm/asm-flag-4.c: Replace dg-error with dg-message. + * gcc.target/arm/asm-flag-5.c: Add quotes around dg-error + messages. + 2019-11-20 Jakub Jelinek PR c++/90767 diff --git a/gcc/testsuite/gcc.target/arm/asm-flag-4.c b/gcc/testsuite/gcc.target/arm/asm-flag-4.c index 3791cadda02..8b3eac1320b 100644 --- a/gcc/testsuite/gcc.target/arm/asm-flag-4.c +++ b/gcc/testsuite/gcc.target/arm/asm-flag-4.c @@ -9,5 +9,5 @@ void __attribute__((target("arm"))) f(char *out) void __attribute__((target("thumb"))) g(char *out) { - asm("" : "=@ccne"(out[0])); /* { dg-error asm flags not supported } */ + asm("" : "=@ccne"(out[0])); /* { dg-message "asm flags not supported" } */ } diff --git a/gcc/testsuite/gcc.target/arm/asm-flag-5.c b/gcc/testsuite/gcc.target/arm/asm-flag-5.c index 9a8ff586c29..304b80a4bfe 100644 --- a/gcc/testsuite/gcc.target/arm/asm-flag-5.c +++ b/gcc/testsuite/gcc.target/arm/asm-flag-5.c @@ -13,13 +13,13 @@ void f_ll(void) { long long x; asm("" : "=@cccc"(x)); } void f_f(void) { float x; - asm("" : "=@cccc"(x)); /* { dg-error invalid type } */ + asm("" : "=@cccc"(x)); /* { dg-error "invalid type" } */ } void f_d(void) { double x; - asm("" : "=@cccc"(x)); /* { dg-error invalid type } */ + asm("" : "=@cccc"(x)); /* { dg-error "invalid type" } */ } struct S { int x[3]; }; @@ -27,5 +27,5 @@ struct S { int x[3]; }; void f_S(void) { struct S x; - asm("" : "=@cccc"(x)); /* { dg-error invalid type } */ + asm("" : "=@cccc"(x)); /* { dg-error "invalid type" } */ }