aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog36
-rw-r--r--gcc/testsuite/gcc.dg/20050121-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/analyzer/pr93382.c2
-rw-r--r--gcc/testsuite/gcc.dg/autopar/pr68460.c2
-rw-r--r--gcc/testsuite/gcc.dg/c90-fordecl-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/cpp/trad/funlike-5.c2
-rw-r--r--gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-dfp.c2
-rw-r--r--gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-float.c2
-rw-r--r--gcc/testsuite/gcc.dg/lto/pr52634_0.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr32069.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr35445.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr40172-3.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr87347.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr88660.c2
-rw-r--r--gcc/testsuite/gcc.dg/pr89689.c2
-rw-r--r--gcc/testsuite/gcc.dg/sinatan-2.c18
-rw-r--r--gcc/testsuite/gcc.dg/sinhatanh-1.c18
-rw-r--r--gcc/testsuite/gcc.dg/sinhovercosh-1.c18
-rw-r--r--gcc/testsuite/gcc.dg/tls/opt-9.c2
-rw-r--r--gcc/testsuite/gcc.dg/torture/builtins-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr51106-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr51106-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr80281.c2
-rw-r--r--gcc/testsuite/gcc.dg/torture/pr92252.c2
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/pr79448-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/pr79448.c2
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/pr92163.c2
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/reassoc-28.c2
-rw-r--r--gcc/testsuite/gcc.dg/tree-ssa/upcast-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/two-types-6.c2
-rw-r--r--gcc/testsuite/gcc.dg/ubsan/c-shift-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/var-expand3.c2
-rw-r--r--gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr30843.c4
-rw-r--r--gcc/testsuite/gcc.dg/vect/pr71264.c4
34 files changed, 94 insertions, 60 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index f7c0188..944c1e8 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,39 @@
+2020-05-07 Manfred Schwarb <manfred99@gmx.ch>
+
+ * gcc.dg/20050121-1.c: Fix broken dg directives.
+ * gcc.dg/analzyer/pr93382.c: Likewise.
+ * gcc.dg/autopar/pr68460.c: Likewise.
+ * gcc.dg/c90-fordecl-1.c: Likewise.
+ * gcc.dg/cpp/trad/funlike-5.c: Likewise.
+ * gcc.dg/debug/dwarf2/dwarf-dfp.c: Likewise.
+ * gcc.dg/debug/dwarf2/dwarf-float.c: Likewise.
+ * gcc.dg/lto/pr52634_0.c: Likewise.
+ * gcc.dg/pr32069.c: Likewise.
+ * gcc.dg/pr35445.c: Likewise.
+ * gcc.dg/pr40172-3.c: Likewise.
+ * gcc.dg/pr87347.c: Likewise.
+ * gcc.dg/pr88660.c: Likewise.
+ * gcc.dg/pr89689.c: Likewise.
+ * gcc.dg/sinatan-2.c: Likewise.
+ * gcc.dg/sinhatanh-1.c: Likewise.
+ * gcc.dg/sinhovercosh-1.c: Likewise.
+ * gcc.dg/tls/opt-9.c: Likewise.
+ * gcc.dg/torture/builtins-1.c: Likewise.
+ * gcc.dg/torture/pr51106-1.c: Likewise.
+ * gcc.dg/torture/pr51106-2.c: Likewise.
+ * gcc.dg/torture/pr80281.c: Likewise.
+ * gcc.dg/torture/pr92252.c: Likewise.
+ * gcc.dg/tree-ssa/pr79448-2.c: Likewise.
+ * gcc.dg/tree-ssa/pr79448.c: Likewise.
+ * gcc.dg/tree-ssa/pr92163.c: Likewise.
+ * gcc.dg/tree-ssa/reassoc-28.c: Likewise.
+ * gcc.dg/tree-ssa/upcast-1.c: Likewise.
+ * gcc.dg/two-types-6.c: Likewise.
+ * gcc.dg/ubsan/c-shift-1.c: Likewise.
+ * gcc.dg/var-expand3.c: Likewise.
+ * gcc.dg/vect/costmodel/x86_64/costmodel-pr30843.c: Likewise.
+ * gcc.dg/vect/pr71264.c: Likewise.
+
2020-05-07 Marek Polacek <polacek@redhat.com>
* g++.dg/other/operator1.C: Adjust expected message.
diff --git a/gcc/testsuite/gcc.dg/20050121-1.c b/gcc/testsuite/gcc.dg/20050121-1.c
index 3fe299a..e7bfdaf 100644
--- a/gcc/testsuite/gcc.dg/20050121-1.c
+++ b/gcc/testsuite/gcc.dg/20050121-1.c
@@ -1,6 +1,6 @@
/* I accidentally broke this while developing a patch for PR 13000,
and didn't notice since the testsuite didn't catch it -- ian */
-/* { dg-do-compile } */
+/* { dg-do compile } */
void foo()
{
diff --git a/gcc/testsuite/gcc.dg/analyzer/pr93382.c b/gcc/testsuite/gcc.dg/analyzer/pr93382.c
index dae32f5..bd11e10 100644
--- a/gcc/testsuite/gcc.dg/analyzer/pr93382.c
+++ b/gcc/testsuite/gcc.dg/analyzer/pr93382.c
@@ -14,7 +14,7 @@ ql (void)
int n1[1];
fread (n1, sizeof (n1[0]), 1, fp); /* { dg-message "'n1' gets an unchecked value here" } */
- idx = n1[0]; /* { dg-message "'idx' has an unchecked value here (from 'n1')" */
+ idx = n1[0]; /* { dg-message "'idx' has an unchecked value here (from 'n1')" } */
}
int arr[10];
diff --git a/gcc/testsuite/gcc.dg/autopar/pr68460.c b/gcc/testsuite/gcc.dg/autopar/pr68460.c
index 0c00065..74f852d 100644
--- a/gcc/testsuite/gcc.dg/autopar/pr68460.c
+++ b/gcc/testsuite/gcc.dg/autopar/pr68460.c
@@ -1,4 +1,4 @@
-/* { dg-do "compile" } */
+/* { dg-do compile } */
/* { dg-options "-O -ftree-parallelize-loops=2 -ftree-vectorize -fno-tree-ch -fno-tree-dominator-opts" } */
void abort (void);
diff --git a/gcc/testsuite/gcc.dg/c90-fordecl-1.c b/gcc/testsuite/gcc.dg/c90-fordecl-1.c
index 46ba16a..6a8e061 100644
--- a/gcc/testsuite/gcc.dg/c90-fordecl-1.c
+++ b/gcc/testsuite/gcc.dg/c90-fordecl-1.c
@@ -9,6 +9,6 @@ foo (void)
int j = 0;
for (int i = 1; i <= 10; i++) /* { dg-bogus "warning" "warning in place of error" } */
/* { dg-error "'for' loop initial declarations are only allowed in C99 or C11 mode" "declaration in for loop" { target *-*-* } .-1 } */
- /* { dg-message "note: use option '-std=c99', '-std=gnu99', '-std=c11' or '-std=gnu11' to compile your code" "note" { target *-*-* } .-2 }} */
+ /* { dg-message "note: use option '-std=c99', '-std=gnu99', '-std=c11' or '-std=gnu11' to compile your code" "note" { target *-*-* } .-2 } */
j += i;
}
diff --git a/gcc/testsuite/gcc.dg/cpp/trad/funlike-5.c b/gcc/testsuite/gcc.dg/cpp/trad/funlike-5.c
index f60a6ea..b5481bd 100644
--- a/gcc/testsuite/gcc.dg/cpp/trad/funlike-5.c
+++ b/gcc/testsuite/gcc.dg/cpp/trad/funlike-5.c
@@ -1,7 +1,7 @@
/* Test function like macro. */
/* Contributed by Devang Patel <dpatel@apple.com> */
-/* {do-do preprocess } */
+/* { dg-do preprocess } */
/* { dg-options "-traditional-cpp -E -dD" } */
int __srget (char *);
#define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))
diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-dfp.c b/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-dfp.c
index 951380f..3e27461 100644
--- a/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-dfp.c
+++ b/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-dfp.c
@@ -1,6 +1,6 @@
/* Verify the DWARF encoding of C99 decimal floating point types. */
-/* { dg-do compile */
+/* { dg-do compile } */
/* { dg-require-effective-target dfp } */
/* { dg-options "-O0 -gdwarf -dA" } */
/* { dg-final { scan-assembler "0x10.*DW_AT_encoding" } } */
diff --git a/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-float.c b/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-float.c
index a028d14..f488384 100644
--- a/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-float.c
+++ b/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-float.c
@@ -1,6 +1,6 @@
/* Verify the DWARF encoding of C99 floating point types. */
-/* { dg-do compile */
+/* { dg-do compile } */
/* { dg-options "-O0 -gdwarf -dA" } */
/* { dg-final { scan-assembler "0x4.*DW_AT_encoding" } } */
/* { dg-final { scan-assembler "0x4.*DW_AT_byte_size" } } */
diff --git a/gcc/testsuite/gcc.dg/lto/pr52634_0.c b/gcc/testsuite/gcc.dg/lto/pr52634_0.c
index 5e14ad9..7731abf 100644
--- a/gcc/testsuite/gcc.dg/lto/pr52634_0.c
+++ b/gcc/testsuite/gcc.dg/lto/pr52634_0.c
@@ -1,7 +1,7 @@
/* { dg-require-weak "" } */
/* { dg-require-alias "" } */
/* { dg-lto-do link } */
-/* { dg-lto-options {{-flto -r -flto-partition=1to1}} */
+/* { dg-lto-options {-flto -r -flto-partition=1to1} } */
/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
extern int cfliteValueCallBacks;
void baz (int *);
diff --git a/gcc/testsuite/gcc.dg/pr32069.c b/gcc/testsuite/gcc.dg/pr32069.c
index 2ec37c6..87a3f18 100644
--- a/gcc/testsuite/gcc.dg/pr32069.c
+++ b/gcc/testsuite/gcc.dg/pr32069.c
@@ -1,4 +1,4 @@
-/* { dg-do-compile } */
+/* { dg-do compile } */
/* { dg-options "-O0 -fsplit-wide-types" } */
long long int segfault (long long int a, long long int b)
diff --git a/gcc/testsuite/gcc.dg/pr35445.c b/gcc/testsuite/gcc.dg/pr35445.c
index cef309f..56ca6e2 100644
--- a/gcc/testsuite/gcc.dg/pr35445.c
+++ b/gcc/testsuite/gcc.dg/pr35445.c
@@ -1,5 +1,5 @@
/* PR c/35445 */
-/* { dg-do "compile" } */
+/* { dg-do compile } */
extern int i;
extern int i; /* { dg-message "was here" } */
diff --git a/gcc/testsuite/gcc.dg/pr40172-3.c b/gcc/testsuite/gcc.dg/pr40172-3.c
index c44707c..583aab0 100644
--- a/gcc/testsuite/gcc.dg/pr40172-3.c
+++ b/gcc/testsuite/gcc.dg/pr40172-3.c
@@ -1,5 +1,5 @@
/* PR middle-end/40172 */
-/* { dg-do compile */
+/* { dg-do compile } */
/* { dg-xfail-if "" { "*-*-*" } } */
/* { dg-options "-Wall -W -Werror -Wlogical-op" } */
diff --git a/gcc/testsuite/gcc.dg/pr87347.c b/gcc/testsuite/gcc.dg/pr87347.c
index d0bdf2a..2077964 100644
--- a/gcc/testsuite/gcc.dg/pr87347.c
+++ b/gcc/testsuite/gcc.dg/pr87347.c
@@ -1,4 +1,4 @@
-/* {dg-do compile} */
+/* { dg-do compile } */
/* { dg-options "-Wabsolute-value" } */
int a;
diff --git a/gcc/testsuite/gcc.dg/pr88660.c b/gcc/testsuite/gcc.dg/pr88660.c
index 09a2d32..c1d0985 100644
--- a/gcc/testsuite/gcc.dg/pr88660.c
+++ b/gcc/testsuite/gcc.dg/pr88660.c
@@ -1,4 +1,4 @@
-/* { dg-do-compile } */
+/* { dg-do compile } */
/* { dg-options "-O -Wunused-but-set-variable" } */
int main(void)
diff --git a/gcc/testsuite/gcc.dg/pr89689.c b/gcc/testsuite/gcc.dg/pr89689.c
index ee81274..778643a 100644
--- a/gcc/testsuite/gcc.dg/pr89689.c
+++ b/gcc/testsuite/gcc.dg/pr89689.c
@@ -1,4 +1,4 @@
-/* { dg-do-compile } */
+/* { dg-do compile } */
/* { dg-options "-O2 -Warray-bounds" } */
#include <string.h>
diff --git a/gcc/testsuite/gcc.dg/sinatan-2.c b/gcc/testsuite/gcc.dg/sinatan-2.c
index 07a1e1e..8e7ea3c 100644
--- a/gcc/testsuite/gcc.dg/sinatan-2.c
+++ b/gcc/testsuite/gcc.dg/sinatan-2.c
@@ -48,12 +48,12 @@ cosatanl_ (long double x)
}
/* There must be no calls to sin, cos, or atan */
-/* {dg-final { scan-tree-dump-not "sin " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "cos " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "atan " "optimized" }} */
-/* {dg-final { scan-tree-dump-not "sinf " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "cosf " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "atanf " "optimized" }} */
-/* {dg-final { scan-tree-dump-not "sinl " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "cosl " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "atanl " "optimized" }} */
+/* { dg-final { scan-tree-dump-not "sin " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "cos " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "atan " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "sinf " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "cosf " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "atanf " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "sinl " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "cosl " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "atanl " "optimized" } } */
diff --git a/gcc/testsuite/gcc.dg/sinhatanh-1.c b/gcc/testsuite/gcc.dg/sinhatanh-1.c
index a76e683..e3a818b 100644
--- a/gcc/testsuite/gcc.dg/sinhatanh-1.c
+++ b/gcc/testsuite/gcc.dg/sinhatanh-1.c
@@ -51,12 +51,12 @@ coshatanhl_ (long double x)
}
/* There must be no calls to sinh, cosh, or atanh */
-/* {dg-final { scan-tree-dump-not "sinh " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "cosh " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "atanh " "optimized" }} */
-/* {dg-final { scan-tree-dump-not "sinfh " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "cosfh " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "atanfh " "optimized" }} */
-/* {dg-final { scan-tree-dump-not "sinlh " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "coslh " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "atanlh " "optimized" }} */
+/* { dg-final { scan-tree-dump-not "sinh " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "cosh " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "atanh " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "sinfh " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "cosfh " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "atanfh " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "sinlh " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "coslh " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "atanlh " "optimized" } } */
diff --git a/gcc/testsuite/gcc.dg/sinhovercosh-1.c b/gcc/testsuite/gcc.dg/sinhovercosh-1.c
index 7e51072..d41093f 100644
--- a/gcc/testsuite/gcc.dg/sinhovercosh-1.c
+++ b/gcc/testsuite/gcc.dg/sinhovercosh-1.c
@@ -33,13 +33,13 @@ sinhlovercoshl_ (long double x)
}
/* There must be no calls to sinh, cosh, or atanh */
-/* {dg-final { scan-tree-dump-not "sinh " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "cosh " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "sinfh " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "cosfh " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "sinlh " "optimized" } } */
-/* {dg-final { scan-tree-dump-not "coslh " "optimized" } } */
-/* {dg-final { scan-tree-dump-times "tanh " "1" "optimized" }} */
-/* {dg-final { scan-tree-dump-times "tanhl " "1" "optimized" }} */
-/* {dg-final { scan-tree-dump-times "tanhf " "1" "optimized" }} */
+/* { dg-final { scan-tree-dump-not "sinh " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "cosh " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "sinfh " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "cosfh " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "sinlh " "optimized" } } */
+/* { dg-final { scan-tree-dump-not "coslh " "optimized" } } */
+/* { dg-final { scan-tree-dump-times "tanh " "1" "optimized" } } */
+/* { dg-final { scan-tree-dump-times "tanhl " "1" "optimized" } } */
+/* { dg-final { scan-tree-dump-times "tanhf " "1" "optimized" } } */
diff --git a/gcc/testsuite/gcc.dg/tls/opt-9.c b/gcc/testsuite/gcc.dg/tls/opt-9.c
index 49aa908..ff1ffc0 100644
--- a/gcc/testsuite/gcc.dg/tls/opt-9.c
+++ b/gcc/testsuite/gcc.dg/tls/opt-9.c
@@ -1,5 +1,5 @@
/* PR 21412 */
-/* { dg-do compile */
+/* { dg-do compile } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -fPIC" } */
/* { dg-require-effective-target tls } */
diff --git a/gcc/testsuite/gcc.dg/torture/builtins-1.c b/gcc/testsuite/gcc.dg/torture/builtins-1.c
index 6a48753..e076d85 100644
--- a/gcc/testsuite/gcc.dg/torture/builtins-1.c
+++ b/gcc/testsuite/gcc.dg/torture/builtins-1.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-fdump-rtl-expand-all" */
+/* { dg-options "-fdump-rtl-expand-all" } */
int isdigit(int c)
{
return c >= 0;
diff --git a/gcc/testsuite/gcc.dg/torture/pr51106-1.c b/gcc/testsuite/gcc.dg/torture/pr51106-1.c
index 5501b54..a2bf08e 100644
--- a/gcc/testsuite/gcc.dg/torture/pr51106-1.c
+++ b/gcc/testsuite/gcc.dg/torture/pr51106-1.c
@@ -1,5 +1,5 @@
/* PR target/51106 */
-/* { dg-do "compile" } */
+/* { dg-do compile } */
/* { dg-skip-if "RTL error" { "*-*-*" } { "-fno-fat-lto-objects" } { "" } } */
int
diff --git a/gcc/testsuite/gcc.dg/torture/pr51106-2.c b/gcc/testsuite/gcc.dg/torture/pr51106-2.c
index 2dbb832..65180f8 100644
--- a/gcc/testsuite/gcc.dg/torture/pr51106-2.c
+++ b/gcc/testsuite/gcc.dg/torture/pr51106-2.c
@@ -1,5 +1,5 @@
/* PR target/51106 */
-/* { dg-do "compile" } */
+/* { dg-do compile } */
/* { dg-skip-if "RTL error" { "*-*-*" } { "-fno-fat-lto-objects" } { "" } } */
/* { dg-skip-if "" { powerpc-ibm-aix* } } */
diff --git a/gcc/testsuite/gcc.dg/torture/pr80281.c b/gcc/testsuite/gcc.dg/torture/pr80281.c
index bff4f6e6..1198e23 100644
--- a/gcc/testsuite/gcc.dg/torture/pr80281.c
+++ b/gcc/testsuite/gcc.dg/torture/pr80281.c
@@ -1,4 +1,4 @@
-/* { dg-run } */
+/* { dg-do run } */
/* { dg-require-effective-target int32plus } */
int
diff --git a/gcc/testsuite/gcc.dg/torture/pr92252.c b/gcc/testsuite/gcc.dg/torture/pr92252.c
index eea60a0..dd8a813 100644
--- a/gcc/testsuite/gcc.dg/torture/pr92252.c
+++ b/gcc/testsuite/gcc.dg/torture/pr92252.c
@@ -1,4 +1,4 @@
-/* { do-do compile } */
+/* { dg-do compile } */
/* { dg-additional-options "-ftree-vectorize" } */
long int ar;
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr79448-2.c b/gcc/testsuite/gcc.dg/tree-ssa/pr79448-2.c
index f75f523..91954d9 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr79448-2.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr79448-2.c
@@ -14,7 +14,7 @@ gettext (char*);
char*
fill (char *buf, size_t len, int count)
{
- if (snprintf (buf, len, "%s: %d", gettext ("count"), count) >= len) /* { dg-bogus "directive output of 2 bytes causes result to exceed .INT_MAX." */
+ if (snprintf (buf, len, "%s: %d", gettext ("count"), count) >= len) /* { dg-bogus "directive output of 2 bytes causes result to exceed .INT_MAX." } */
return 0;
return buf;
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr79448.c b/gcc/testsuite/gcc.dg/tree-ssa/pr79448.c
index c346c9e..504875a 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr79448.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr79448.c
@@ -14,7 +14,7 @@ gettext (char*);
char*
fill (char *buf, size_t len, int count)
{
- if (snprintf (buf, len, "%s: %d", gettext ("count"), count) >= len) /* { dg-bogus "directive output of 2 bytes causes result to exceed .INT_MAX." */
+ if (snprintf (buf, len, "%s: %d", gettext ("count"), count) >= len) /* { dg-bogus "directive output of 2 bytes causes result to exceed .INT_MAX." } */
return 0;
return buf;
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr92163.c b/gcc/testsuite/gcc.dg/tree-ssa/pr92163.c
index 227c092..4dfc735 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/pr92163.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/pr92163.c
@@ -1,4 +1,4 @@
-/* { dg-do "compile" } */
+/* { dg-do compile } */
/* { dg-require-effective-target fopenacc } */
/* { dg-options "-O2 -fexceptions -fnon-call-exceptions -fopenacc" } */
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/reassoc-28.c b/gcc/testsuite/gcc.dg/tree-ssa/reassoc-28.c
index 2e99986..ee6804e 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/reassoc-28.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/reassoc-28.c
@@ -1,4 +1,4 @@
-/* { dg-do run} */
+/* { dg-do run } */
/* { dg-options "-O2" } */
#define LENGTH 4
diff --git a/gcc/testsuite/gcc.dg/tree-ssa/upcast-1.c b/gcc/testsuite/gcc.dg/tree-ssa/upcast-1.c
index 7838817..4520aba 100644
--- a/gcc/testsuite/gcc.dg/tree-ssa/upcast-1.c
+++ b/gcc/testsuite/gcc.dg/tree-ssa/upcast-1.c
@@ -1,4 +1,4 @@
-/* { do-go compile } */
+/* { dg-do compile } */
/* { dg-options "-fdump-tree-gimple" } */
typedef struct { int i; } Foo;
diff --git a/gcc/testsuite/gcc.dg/two-types-6.c b/gcc/testsuite/gcc.dg/two-types-6.c
index ca3bfa9..50fb752 100644
--- a/gcc/testsuite/gcc.dg/two-types-6.c
+++ b/gcc/testsuite/gcc.dg/two-types-6.c
@@ -2,6 +2,6 @@
/* { dg-options "-std=gnu89" } // suppress default -pedantic-errors */
struct s {
- struct f {} /* dg-warning "does not declare anything" } */
+ struct f {} /* { dg-warning "does not declare anything" } */
struct g {} x; /* { dg-error "expected ';', identifier or " } */
};
diff --git a/gcc/testsuite/gcc.dg/ubsan/c-shift-1.c b/gcc/testsuite/gcc.dg/ubsan/c-shift-1.c
index 61b9010..9d56101 100644
--- a/gcc/testsuite/gcc.dg/ubsan/c-shift-1.c
+++ b/gcc/testsuite/gcc.dg/ubsan/c-shift-1.c
@@ -1,4 +1,4 @@
-/* { dg-do compile} */
+/* { dg-do compile } */
/* { dg-options "-fsanitize=shift -w" } */
/* { dg-shouldfail "ubsan" } */
diff --git a/gcc/testsuite/gcc.dg/var-expand3.c b/gcc/testsuite/gcc.dg/var-expand3.c
index dce6ec1..b81cef0 100644
--- a/gcc/testsuite/gcc.dg/var-expand3.c
+++ b/gcc/testsuite/gcc.dg/var-expand3.c
@@ -1,4 +1,4 @@
-/* { dg-do run { target { powerpc*-*-* && vmx_hw } } }} */
+/* { dg-do run { target { powerpc*-*-* && vmx_hw } } } */
/* { dg-options "-O2 -funroll-loops -ffast-math -fvariable-expansion-in-unroller -maltivec -fdump-rtl-loop2_unroll" } */
#include "altivec.h"
diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr30843.c b/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr30843.c
index 9cf6141..257d098 100644
--- a/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr30843.c
+++ b/gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr30843.c
@@ -20,6 +20,4 @@ void dacP98FillRGBMap (unsigned char *pBuffer)
}
}
-/* { dg-final { scan-tree-dump-times "vectorization not profitable" 1 "vect" { target vect_interleave
-} } } */
-
+/* { dg-final { scan-tree-dump-times "vectorization not profitable" 1 "vect" { target vect_interleave } } } */
diff --git a/gcc/testsuite/gcc.dg/vect/pr71264.c b/gcc/testsuite/gcc.dg/vect/pr71264.c
index 72d9008..5f6407a 100644
--- a/gcc/testsuite/gcc.dg/vect/pr71264.c
+++ b/gcc/testsuite/gcc.dg/vect/pr71264.c
@@ -19,5 +19,5 @@ void test(uint8_t *ptr, uint8_t *mask)
}
}
-/* { dg-final { scan-tree-dump "vectorized 1 loops in function" "vect" {
-xfail sparc*-*-* } } } */
+/* { dg-final { scan-tree-dump "vectorized 1 loops in function" "vect" { xfail sparc*-*-* } } } */
+