]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Adjust strings in dg-warning directives (PR testsuite/100412).
authorMartin Sebor <msebor@redhat.com>
Tue, 4 May 2021 17:10:40 +0000 (11:10 -0600)
committerMartin Sebor <msebor@redhat.com>
Tue, 4 May 2021 17:10:40 +0000 (11:10 -0600)
gcc/testsuite/ChangeLog:
* gcc.dg/Wvla-parameter-3.c: Use unique strings in directive names.

gcc/testsuite/gcc.dg/Wvla-parameter-3.c

index 51f01729b1df4055f304d91d6b21624f0e558ebe..f1cf139192d34772f7c0e0849c9f33293ff5ce5c 100644 (file)
@@ -25,19 +25,19 @@ void ppax (int (**)[*]);                // { dg-message "previously declared as
 void ppax (int (**)[n]);                // { dg-warning "\\\[-Wvla-parameter" }
 /* A VLA with an unspecified bound is represented the same as [0] so
    so the pretty printer can't differentiate between the two forms.  */
-void ppax (int (**)[1]);                // { dg-bogus "\\\[-Warray-parameter" "pr?????" { xfail *-*-* } }
-                                        // { dg-warning "\\\[-Wvla-parameter" "pr?????" { xfail *-*-* } .-1 }
+void ppax (int (**)[1]);                // { dg-bogus "\\\[-Warray-parameter" "pr100420 (expected)" { xfail *-*-* } }
+                                        // { dg-warning "\\\[-Wvla-parameter" "pr100420 (expected)" { xfail *-*-* } .-1 }
 void ppax (int (**)[n + 1]);            // { dg-warning "mismatch in bound 1 of argument 1 declared as 'int *\\\(\\\*\\\*\\\)\\\[n \\\+ 1\\\]'" }
 
 
 void pa1_n (int (*)[1][n]);
 void pa1_n (int (*)[1][n]);
-void pa1_n (int (*)[*][n]);             // { dg-warning "mismatch in bound 1 of argument 1 declared as 'int \\\(\\\*\\\)\\\[\\\*]\\\[n]'" "pr?????" { xfail *-*-*} }
-                                        // { dg-warning "mismatch in bound 1 of argument 1 declared as 'int \\\(\\\*\\\)\\\[0]\\\[n]'" "pr?????" { target *-*-* } .-1 }
+void pa1_n (int (*)[*][n]);             // { dg-warning "mismatch in bound 1 of argument 1 declared as 'int \\\(\\\*\\\)\\\[\\\*]\\\[n]'" "pr100420 (expected)" { xfail *-*-*} }
+                                        // { dg-warning "mismatch in bound 1 of argument 1 declared as 'int \\\(\\\*\\\)\\\[0]\\\[n]'" "pr100420" { target *-*-* } .-1 }
 
 void pa1_n_2 (int (*)[1][n][2]);
-void pa1_n_2 (int (*)[1][n][*]);        // { dg-warning "mismatch in bound 3 of argument 1 declared as 'int \\\(\\\*\\\)\\\[1]\\\[n]\\\[\\\*]'" "pr?????" { xfail *-*-* } }
-                                        // { dg-warning "mismatch in bound 3 of argument 1 declared as 'int \\\(\\\*\\\)\\\[1]\\\[n]\\\[0]'" "pr?????" { target *-*-* } .-1 }
+void pa1_n_2 (int (*)[1][n][*]);        // { dg-warning "mismatch in bound 3 of argument 1 declared as 'int \\\(\\\*\\\)\\\[1]\\\[n]\\\[\\\*]'" "pr100420 (expected)" { xfail *-*-* } }
+                                        // { dg-warning "mismatch in bound 3 of argument 1 declared as 'int \\\(\\\*\\\)\\\[1]\\\[n]\\\[0]'" "pr100420" { target *-*-* } .-1 }
 
 
 void pa1_n_2_a1_n_2 (int (*)[1][n][2], int (*)[1][n][2]);