diff options
author | Sam James <sam@gentoo.org> | 2024-09-20 04:00:32 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-09-20 05:10:16 +0100 |
commit | 284c03ec79ec206786673500b7813bd9f28b0075 (patch) | |
tree | bc4135e9868b2c97a7b94584da251177bd61c2b2 /gcc | |
parent | 91da9e3b5486875efbdb7428d63c3a0fa42508a9 (diff) | |
download | gcc-284c03ec79ec206786673500b7813bd9f28b0075.zip gcc-284c03ec79ec206786673500b7813bd9f28b0075.tar.gz gcc-284c03ec79ec206786673500b7813bd9f28b0075.tar.bz2 |
testsuite: debug: fix dejagnu directive syntax
In this case, they were all harmless in reality (no diff in test logs).
gcc/testsuite/ChangeLog:
* gcc.dg/debug/btf/btf-array-1.c: Fix dg-do directive syntax.
* gcc.dg/debug/btf/btf-bitfields-1.c: Ditto.
* gcc.dg/debug/btf/btf-bitfields-2.c: Ditto.
* gcc.dg/debug/btf/btf-datasec-1.c: Ditto.
* gcc.dg/debug/btf/btf-union-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-anonymous-struct-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-anonymous-union-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-array-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-array-2.c: Ditto.
* gcc.dg/debug/ctf/ctf-array-4.c: Ditto.
* gcc.dg/debug/ctf/ctf-array-5.c: Ditto.
* gcc.dg/debug/ctf/ctf-array-6.c: Ditto.
* gcc.dg/debug/ctf/ctf-attr-mode-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-attr-used-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-bitfields-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-bitfields-2.c: Ditto.
* gcc.dg/debug/ctf/ctf-bitfields-3.c: Ditto.
* gcc.dg/debug/ctf/ctf-bitfields-4.c: Ditto.
* gcc.dg/debug/ctf/ctf-complex-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-cvr-quals-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-cvr-quals-2.c: Ditto.
* gcc.dg/debug/ctf/ctf-cvr-quals-3.c: Ditto.
* gcc.dg/debug/ctf/ctf-cvr-quals-4.c: Ditto.
* gcc.dg/debug/ctf/ctf-enum-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-enum-2.c: Ditto.
* gcc.dg/debug/ctf/ctf-file-scope-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-float-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-forward-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-forward-2.c: Ditto.
* gcc.dg/debug/ctf/ctf-func-index-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-function-pointers-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-function-pointers-2.c: Ditto.
* gcc.dg/debug/ctf/ctf-function-pointers-3.c: Ditto.
* gcc.dg/debug/ctf/ctf-function-pointers-4.c: Ditto.
* gcc.dg/debug/ctf/ctf-functions-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-int-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-objt-index-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-pointers-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-pointers-2.c: Ditto.
* gcc.dg/debug/ctf/ctf-preamble-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-str-table-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-struct-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-struct-2.c: Ditto.
* gcc.dg/debug/ctf/ctf-struct-array-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-struct-array-2.c: Ditto.
* gcc.dg/debug/ctf/ctf-typedef-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-typedef-2.c: Ditto.
* gcc.dg/debug/ctf/ctf-typedef-3.c: Ditto.
* gcc.dg/debug/ctf/ctf-typedef-struct-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-typedef-struct-2.c: Ditto.
* gcc.dg/debug/ctf/ctf-typedef-struct-3.c: Ditto.
* gcc.dg/debug/ctf/ctf-union-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-variables-1.c: Ditto.
* gcc.dg/debug/ctf/ctf-variables-2.c: Ditto.
* gcc.dg/debug/ctf/ctf-variables-3.c: Ditto.
Diffstat (limited to 'gcc')
55 files changed, 56 insertions, 55 deletions
diff --git a/gcc/testsuite/gcc.dg/debug/btf/btf-array-1.c b/gcc/testsuite/gcc.dg/debug/btf/btf-array-1.c index 967b1e8..51ec991 100644 --- a/gcc/testsuite/gcc.dg/debug/btf/btf-array-1.c +++ b/gcc/testsuite/gcc.dg/debug/btf/btf-array-1.c @@ -8,7 +8,7 @@ a1 : cta_nelems = 2, 5 buf : cta_nelems = 0. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gbtf -dA" } */ /* { dg-final { scan-assembler-times "0x3000000\[\t \]+\[^\n\]*btt_info" 5 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-1.c b/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-1.c index 793b4c8..cc15833 100644 --- a/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-1.c +++ b/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-1.c @@ -8,7 +8,7 @@ - (0x13 << 24) | 0x40 - note that this is aligned to 0x40. - (0x13 << 24) | 0x31 - in case structures are packed. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gbtf -dA" } */ /* { dg-require-effective-target int32plus } */ diff --git a/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-2.c b/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-2.c index 2ec00dc..1f52517 100644 --- a/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-2.c +++ b/gcc/testsuite/gcc.dg/debug/btf/btf-bitfields-2.c @@ -3,7 +3,7 @@ We expect a struct with 2 members to be generated. The size 0 bitfield should not have any entry in the member list. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gbtf -dA" } */ /* Struct with bitfield members, and 2 members. */ diff --git a/gcc/testsuite/gcc.dg/debug/btf/btf-datasec-1.c b/gcc/testsuite/gcc.dg/debug/btf/btf-datasec-1.c index 15b7625..781f807 100644 --- a/gcc/testsuite/gcc.dg/debug/btf/btf-datasec-1.c +++ b/gcc/testsuite/gcc.dg/debug/btf/btf-datasec-1.c @@ -1,3 +1,4 @@ + /* BTF generation of BTF_KIND_DATASEC records. We expect 3 DATASEC records: one for each of .data, .rodata and .bss. @@ -9,7 +10,7 @@ so we cannot check them. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gbtf -dA" } */ /* { dg-additional-options "-msdata=none" { target { { powerpc*-*-* } && ilp32 } } } */ /* { dg-additional-options "-msmall-data-limit=0" { target { riscv*-*-* } } } */ diff --git a/gcc/testsuite/gcc.dg/debug/btf/btf-union-1.c b/gcc/testsuite/gcc.dg/debug/btf/btf-union-1.c index e3a1902..9838dc2 100644 --- a/gcc/testsuite/gcc.dg/debug/btf/btf-union-1.c +++ b/gcc/testsuite/gcc.dg/debug/btf/btf-union-1.c @@ -1,6 +1,6 @@ /* Test BTF generation for union type. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gbtf -dA" } */ /* One union type with 4 members */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-anonymous-struct-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-anonymous-struct-1.c index 93547d4..807e0a4 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-anonymous-struct-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-anonymous-struct-1.c @@ -9,7 +9,7 @@ struct a : ctt_info = 0x1a000002 (2 fields) struct {} : ctt_info = 0x1a000001 (1 field) */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0\[\t \]+\[^\n\]*ctt_name" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-anonymous-union-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-anonymous-union-1.c index f45af9b..382ecbd 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-anonymous-union-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-anonymous-union-1.c @@ -9,7 +9,7 @@ struct anon_union : ctt_info = 0x1a000001 (1 field) union {} : ctt_info = 0x1e000002 (2 fields) */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0\[\t \]+\[^\n\]*ctt_name" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-1.c index 006a758..d50da97 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-1.c @@ -8,7 +8,7 @@ a1 : cta_nelems = 2, 5 buf : cta_nelems = 0. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "0x12000000\[\t \]+\[^\n\]*ctt_info" 5 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-2.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-2.c index 4721c4f..8bceb7a 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-2.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-2.c @@ -18,7 +18,7 @@ In this testcase, two CTF array records each of type int [0] is expected. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "0x12000000\[\t \]+\[^\n\]*ctt_info" 2 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-4.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-4.c index 013a8ff..86c57dc 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-4.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-4.c @@ -3,7 +3,7 @@ Test CTF generation for single element arrays. In this testcase, one CTF record for array is expected with cta_nelems = 1. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "0x12000000\[\t \]+\[^\n\]*ctt_info" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-5.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-5.c index ec50441..f635a2c 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-5.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-5.c @@ -7,7 +7,7 @@ */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "0x12000000\[\t \]+\[^\n\]*ctt_info" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-6.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-6.c index 5564cb8..211d9c6 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-6.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-array-6.c @@ -1,6 +1,6 @@ /* CTF generation for multidimensional array. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]+0x2\[\t \]+\[^\n\]*cta_nelems" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-attr-mode-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-attr-mode-1.c index c4801a7..2cb77da 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-attr-mode-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-attr-mode-1.c @@ -6,7 +6,7 @@ variable refers to a specific CTF type, so this testcase merely asserts for existence of individual CTF records. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "ascii \"B1.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-attr-used-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-attr-used-1.c index 61f6b64..b40d92d 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-attr-used-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-attr-used-1.c @@ -3,7 +3,7 @@ This attribute, attached to a function, means that code must be emitted for the function even if it appears that the function is not referenced. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O2 -gctf -dA" } */ /* These should be true for higher optimization levels. */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-1.c index 1deac90..f12adeb 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-1.c @@ -3,7 +3,7 @@ In this testcase, two slices are expected - one for enum and the other for int. CTF slices are unnamed records. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0x2\[\t \]+\[^\n\]*cts_bits" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-2.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-2.c index aea0921..0a911b4 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-2.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-2.c @@ -8,7 +8,7 @@ across targets with different BIT_PER_WORD. Is there a way to add cts_offset related checks in the testcase? */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0x6\[\t \]+\[^\n\]*cts_type" 3 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-3.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-3.c index 8fbcf12..411040d 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-3.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-3.c @@ -1,6 +1,6 @@ /* The bool bitfield type. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0x2\[\t \]+\[^\n\]*cts_type" 2 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-4.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-4.c index 012069a..c03ffb7 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-4.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-bitfields-4.c @@ -2,7 +2,7 @@ In this testcase, two slices are expected. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0x2\[\t \]+\[^\n\]*cts_type" 2 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c index e6c3199..ff106fe 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-complex-1.c @@ -4,7 +4,7 @@ This testcase has a mix of C constructs containing COMPLEX_TYPE. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-require-effective-target libc_has_complex_functions } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-1.c index 0137e9d..919e5b3 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-1.c @@ -29,7 +29,7 @@ 10: void (*) (size_t, int *restrict, const int *restrict) (size 0x0) */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-options "-O0 -gctf -gdwarf-4 -dA" { target { *-*-darwin* } } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-2.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-2.c index 4f328f3..5f1ca55 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-2.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-2.c @@ -5,7 +5,7 @@ two const qualifier CTF records are expected (const int and const struct s1). */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "ascii \"int.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-3.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-3.c index 97317a4..b18c43e 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-3.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-3.c @@ -4,7 +4,7 @@ In this testcase, it is expected to have const and volatile CTF records. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "ascii \"unsigned char.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-4.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-4.c index c1633ee..a3984e0 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-4.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-cvr-quals-4.c @@ -5,7 +5,7 @@ is 1 const qualifier. 1 more no-name CTF record corresponds to the CTF pointer record. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0\[\t \]+\[^\n\]*ctt_name" 2 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-enum-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-enum-1.c index 9693544..16abbed 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-enum-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-enum-1.c @@ -1,6 +1,6 @@ /* CTF generation for enums. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "ascii \"RED.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-enum-2.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-enum-2.c index fd8aaec..b40bcaf 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-enum-2.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-enum-2.c @@ -7,7 +7,7 @@ In this testcase, CTF for enumerator GFS_MONOTONIC will not be generated. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "ascii \"GFS_MONOTONIC.0\"\[\t \]+\[^\n\]*ctf_string" 0 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c index ddfb31d..e58fb54 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c @@ -1,6 +1,6 @@ /* CTF is not generated for entities not at file-scope. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "ascii \"SFOO.0\"\[\t \]+\[^\n\]*ctf_string" 0 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-float-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-float-1.c index 9e24b45..ddf4230 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-float-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-float-1.c @@ -1,7 +1,7 @@ /* Tests for CTF float base types. - Verify that there is a single record for the base types. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "ascii \"float.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ /* { dg-final { scan-assembler-times "ascii \"double.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-forward-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-forward-1.c index fdec743..90f2015 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-forward-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-forward-1.c @@ -9,7 +9,7 @@ type. The second assembler tag is due to a ref type in a CVR CTF record. TBD - perhaps a more robust string pattern is needed. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0x26000000\[\t \]+\[^\n\]*ctt_info" 2 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-forward-2.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-forward-2.c index a3154f2..a10b75b 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-forward-2.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-forward-2.c @@ -4,7 +4,7 @@ For forward types, the compiler encodes the CTF kind in the ctt_type field. CTF_K_FORWARD is used as the CTF type as usual in the ctt_info. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0x26000000\[\t \]+\[^\n\]*ctt_info" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-func-index-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-func-index-1.c index 86ca795..aff41e3 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-func-index-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-func-index-1.c @@ -6,7 +6,7 @@ In this testcase, 2 records in the function index section are expected. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "funcinfo_name" 2 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-1.c index cc1a600a..fc53fd9 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-1.c @@ -1,6 +1,6 @@ /* CTF generation of function pointers. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0x16000001\[\t \]+\[^\n\]*ctt_info" 1 } } */ /* { dg-final { scan-assembler-times "\[\t \]0x16000002\[\t \]+\[^\n\]*ctt_info" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-2.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-2.c index a4a1104..80b9c18 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-2.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-2.c @@ -3,7 +3,7 @@ In this testcase, there is a single function type expected for two different function pointer types. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0x16000001\[\t \]+\[^\n\]*ctt_info" 1 } } */ /* { dg-final { scan-assembler-times "ascii \"rcu_callback_t.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-3.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-3.c index fe35d6c..f9b0aef 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-3.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-3.c @@ -2,7 +2,7 @@ In this testcase, there is a single function type expected. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0x16000001\[\t \]+\[^\n\]*ctt_info" 1 } } */ /* { dg-final { scan-assembler-times "ascii \"foo_init_callback.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-4.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-4.c index b8a7417..02a7151 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-4.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-function-pointers-4.c @@ -2,7 +2,7 @@ In this testcase, Type de-duplication of function type is exercised. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0x16000001\[\t \]+\[^\n\]*ctt_info" 1 } } */ /* { dg-final { scan-assembler-times "ascii \"var_assign_func_t.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-functions-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-functions-1.c index 0b086a5..b94dca5 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-functions-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-functions-1.c @@ -17,7 +17,7 @@ */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0x16000002\[\t \]+\[^\n\]*ctt_info" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-int-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-int-1.c index 8c68b2e..e4ffcc2 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-int-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-int-1.c @@ -1,7 +1,7 @@ /* Tests for CTF integer base types. - Verify that there is a single record for the base types. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "ascii \"int.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ /* { dg-final { scan-assembler-times "ascii \"short int.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-objt-index-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-objt-index-1.c index ee3481a..f66c3de 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-objt-index-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-objt-index-1.c @@ -6,7 +6,7 @@ In this testcase, 4 records in the object index section are expected. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "objtinfo_name" 4 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-pointers-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-pointers-1.c index e1fccec..bb1067f 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-pointers-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-pointers-1.c @@ -5,7 +5,7 @@ - struct foo_struct * */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "ascii \"foo_struct.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-pointers-2.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-pointers-2.c index e36e5ec..e6e1202 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-pointers-2.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-pointers-2.c @@ -7,7 +7,7 @@ In this testcase, one CTF pointer type record is expected. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0xe000000\[\t \]+\[^\n\]*ctt_info" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-preamble-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-preamble-1.c index 28547fa..2df0c28 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-preamble-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-preamble-1.c @@ -1,6 +1,6 @@ /* Verify the CTF preamble in the CTF section. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler "0xdff2.*CTF preamble magic number" } } */ /* { dg-final { scan-assembler "0x4.*CTF preamble version" } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-str-table-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-str-table-1.c index 0a0f1f0..fc40dde 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-str-table-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-str-table-1.c @@ -2,7 +2,7 @@ single empty string. Just an optimization by the compiler, it is not mandated by the CTF format. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "ascii \".0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-1.c index 19711c0..4ad8ff5 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-1.c @@ -5,7 +5,7 @@ struct b : ctt_into = 0x1a000002 (2 field members) */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0x1a000004\[\t \]+\[^\n\]*ctt_info" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-2.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-2.c index 09b4d2f..3a65013 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-2.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-2.c @@ -3,7 +3,7 @@ Further, the compiler is expected to generate a single CTF struct type for struct dmx_dtdef (due to Type de-duplication at CTF generation). */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "ascii \"dmx_dtdef.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ /* { dg-final { scan-assembler-times "ascii \"dtd_name.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-array-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-array-1.c index d6c6b6b..3bd302a 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-array-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-array-1.c @@ -32,7 +32,7 @@ Deemed as acceptable for now. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "ascii \"cmodel.0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-array-2.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-array-2.c index 37094b5d..17c0d94 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-array-2.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-struct-array-2.c @@ -4,7 +4,7 @@ the location. CTF generation feeds off DWARF dies; this testcase tests that the location expr is handled. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA -gdwarf-2" } */ /* { dg-final { scan-assembler-times "0x12000000\[\t \]+\[^\n\]*ctt_info" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-1.c index aa40ab0..8d5916c 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-1.c @@ -22,7 +22,7 @@ unique (type of a, b, c will all point to int); hence, the check. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "0x2a000000\[\t \]+\[^\n\]*ctt_info" 7 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-2.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-2.c index 8c9d3bb..fe8724e 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-2.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-2.c @@ -2,7 +2,7 @@ In this testcase, typedef of type void should be generated. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "0x2a000000\[\t \]+\[^\n\]*ctt_info" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-3.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-3.c index 93d0845..c211e59 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-3.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-3.c @@ -2,7 +2,7 @@ In this testcase, a single CTF record for typedef is expected. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "0x2a000000\[\t \]+\[^\n\]*ctt_info" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-1.c index 19e8f49..3800378 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-1.c @@ -1,4 +1,4 @@ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ typedef struct my_int diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-2.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-2.c index deeb85a..d49812d 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-2.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-2.c @@ -1,6 +1,6 @@ /* Test compilation of typedef composition in structs. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ typedef struct diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-3.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-3.c index 6d6918b..f13822d 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-3.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-typedef-struct-3.c @@ -16,7 +16,7 @@ 4: const my_int_t (size 0x8) -> 3: my_int_t (size 0x8) -> 1: struct my_int (size 0x8) */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0x4\[\t \]+\[^\n\]*ctv_typeidx" 1 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-union-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-union-1.c index 929d532..8721318 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-union-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-union-1.c @@ -1,6 +1,6 @@ /* CTF generation for union type. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "\[\t \]0x1e000004\[\t \]+\[^\n\]*ctt_info" 1 } } */ /* { dg-final { scan-assembler-times "ctm_name" 4 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-1.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-1.c index 8c3ab10..1f8de92 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-1.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-1.c @@ -2,7 +2,7 @@ In this testcase, 7 records in the variable info section are expected. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "ctv_name" 7 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-2.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-2.c index 75c3ed7..316f76c 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-2.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-2.c @@ -3,7 +3,7 @@ In this testcase, CTF record for bstatic is NOT expected. CTF generation is only carried out for variables at file-scope or global-scope. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "ctv_name" 0 } } */ diff --git a/gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-3.c b/gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-3.c index 8aea1e8..5697db6 100644 --- a/gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-3.c +++ b/gcc/testsuite/gcc.dg/debug/ctf/ctf-variables-3.c @@ -8,7 +8,7 @@ single CTF variable and a single entry in the CTF object info section are expected. */ -/* { dg-do compile ) */ +/* { dg-do compile } */ /* { dg-options "-O0 -gctf -dA" } */ /* { dg-final { scan-assembler-times "0x12000000\[\t \]+\[^\n\]*ctt_info" 2 } } */ |