From: Christophe Lyon Date: Fri, 5 Apr 2019 15:10:12 +0000 (+0000) Subject: [testsuite] PR71598: Fix testcases again X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe7c4fa9818f0e75cf46e95d6117d3f9f73ebb2e;p=gcc.git [testsuite] PR71598: Fix testcases again 2019-04-05 Christophe Lyon PR c/71598 * gcc.dg/torture/pr71598-1.c: dg-prune arm linker messages about size of enums. * gcc.dg/torture/pr71598-2.c: Likewise. From-SVN: r270168 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4a9fd96ea36..c188628b323 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-04-05 Christophe Lyon + + PR c/71598 + * gcc.dg/torture/pr71598-1.c: dg-prune arm linker messages about + size of enums. + * gcc.dg/torture/pr71598-2.c: Likewise. + 2019-04-05 Marek Polacek PR c++/89973 - -Waddress-of-packed-member ICE with invalid conversion. diff --git a/gcc/testsuite/gcc.dg/torture/pr71598-1.c b/gcc/testsuite/gcc.dg/torture/pr71598-1.c index 39022537eeb..4dd4052780d 100644 --- a/gcc/testsuite/gcc.dg/torture/pr71598-1.c +++ b/gcc/testsuite/gcc.dg/torture/pr71598-1.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-skip-if "" { short_enums } } */ +/* { dg-prune-output "use of enum values across objects may fail" } */ /* { dg-additional-options "-fno-short-enums" } */ enum e1 { c1 }; diff --git a/gcc/testsuite/gcc.dg/torture/pr71598-2.c b/gcc/testsuite/gcc.dg/torture/pr71598-2.c index a40d6f07af2..44b23f56663 100644 --- a/gcc/testsuite/gcc.dg/torture/pr71598-2.c +++ b/gcc/testsuite/gcc.dg/torture/pr71598-2.c @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-skip-if "" { ! short_enums } } */ +/* { dg-prune-output "use of enum values across objects may fail" } */ /* { dg-additional-options "-fshort-enums" } */ enum e1 { c1 = -__INT_MAX__ };