From: Jeff Law Date: Mon, 3 Dec 2018 15:17:03 +0000 (-0700) Subject: pr59963-2.c: Make testnames unique. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbb10360f33fe69c249ea6d4d4e734cb408bac61;p=gcc.git pr59963-2.c: Make testnames unique. * gcc.dg/pr59963-2.c: Make testnames unique. * gcc.dg/tree-ssa/builtin-sprintf-warn-18.c: Likewise. From-SVN: r266743 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 27300fcc0e0..c09a84a3f07 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-12-03 Jeff Law + + * gcc.dg/pr59963-2.c: Make testnames unique. + * gcc.dg/tree-ssa/builtin-sprintf-warn-18.c: Likewise. + 2018-12-03 Ilya Leoshkevich * gcc.target/s390/nodatarel-1.c: Expect .LANCHOR0@GOTENT instead diff --git a/gcc/testsuite/gcc.dg/pr59963-2.c b/gcc/testsuite/gcc.dg/pr59963-2.c index 286a5f9e1eb..f54a3126960 100644 --- a/gcc/testsuite/gcc.dg/pr59963-2.c +++ b/gcc/testsuite/gcc.dg/pr59963-2.c @@ -32,6 +32,6 @@ foo (int i) -7, /* { dg-warning "15:-Wsign-conversion" } */ -8); /* { dg-warning "16:-Wsign-conversion" } */ bazu (i, i); /* { dg-warning "9:conversion" } */ - bazi (0x8, 0x80000000); /* { dg-warning "14:-Wsign-conversion" "" { xfail int16 } } */ - /* { dg-warning "overflow in conversion from" "" { target int16 } .-1 } */ + bazi (0x8, 0x80000000); /* { dg-warning "14:-Wsign-conversion" "first" { xfail int16 } } */ + /* { dg-warning "overflow in conversion from" "second" { target int16 } .-1 } */ } diff --git a/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c b/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c index 7064f8a6d58..2203e5263f7 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/builtin-sprintf-warn-18.c @@ -117,10 +117,10 @@ void test_width_and_precision_out_of_range (char *d) { /* The range here happens to be a property of the compiler, not one of the target. */ - T ("%9223372036854775808i", 0); /* { dg-warning "width out of range" } */ - /* { dg-warning "result to exceed .INT_MAX." "" { target *-*-* } .-1 } */ - T ("%.9223372036854775808i", 0); /* { dg-warning "precision out of range" } */ - /* { dg-warning "causes result to exceed .INT_MAX." "" { target *-*-* } .-1 } */ + T ("%9223372036854775808i", 0); /* { dg-warning "width out of range" "first" } */ + /* { dg-warning "result to exceed .INT_MAX." "second" { target *-*-* } .-1 } */ + T ("%.9223372036854775808i", 0); /* { dg-warning "precision out of range" "first" } */ + /* { dg-warning "causes result to exceed .INT_MAX." "second" { target *-*-* } .-1 } */ /* The following is diagnosed by -Wformat (disabled here). */ /* T ("%9223372036854775808$i", 0); */