From f9ccb8c0afc9d511a458100139ec9a9c8bc3f165 Mon Sep 17 00:00:00 2001 From: Tamar Christina Date: Fri, 6 Jul 2018 09:14:30 +0000 Subject: [PATCH] Fix -Wpedantic issue with testcase on AArch64. 2018-07-06 Tamar Christina * gcc.target/aarch64/struct_cpy.c: Remove ;. From-SVN: r262470 --- gcc/testsuite/ChangeLog | 4 +++ gcc/testsuite/gcc.target/aarch64/struct_cpy.c | 32 +++++++++---------- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4952b18983f..e866b77475e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-07-06 Tamar Christina + + * gcc.target/aarch64/struct_cpy.c: Remove ;. + 2018-07-05 Jeff Law * gcc.dg/tree-ssa/asm-2.c (REGISTER): Override for v850 too. diff --git a/gcc/testsuite/gcc.target/aarch64/struct_cpy.c b/gcc/testsuite/gcc.target/aarch64/struct_cpy.c index 4feb3ea9909..26195971e64 100644 --- a/gcc/testsuite/gcc.target/aarch64/struct_cpy.c +++ b/gcc/testsuite/gcc.target/aarch64/struct_cpy.c @@ -46,22 +46,22 @@ struct struct16 foo16 = { volatile struct struct##x var##x = foo##x; \ } -FUN(1); -FUN(2); -FUN(3); -FUN(4); -FUN(5); -FUN(6); -FUN(7); -FUN(8); -FUN(9); -FUN(10); -FUN(11); -FUN(12); -FUN(13); -FUN(14); -FUN(15); -FUN(16); +FUN(1) +FUN(2) +FUN(3) +FUN(4) +FUN(5) +FUN(6) +FUN(7) +FUN(8) +FUN(9) +FUN(10) +FUN(11) +FUN(12) +FUN(13) +FUN(14) +FUN(15) +FUN(16) /* { dg-final { scan-assembler-times {ldr\s} 18 } } */ /* { dg-final { scan-assembler-times {ldrb} 4 } } */ -- 2.30.2