https://gcc.gnu.org/g:143ad00ccd63a6cf38d8067d5fa79bd9a81e3144

commit r15-8889-g143ad00ccd63a6cf38d8067d5fa79bd9a81e3144
Author: Richard Earnshaw <rearn...@arm.com>
Date:   Tue Mar 25 13:18:06 2025 +0000

    arm: testsuite use -std=gnu17 for pr65647.c
    
    This test has missing prototypes.  To avoid disturbing the test, use gnu17.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/arm/pr65647.c (dg-options): Add -std=gnu17.

Diff:
---
 gcc/testsuite/gcc.target/arm/pr65647.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/arm/pr65647.c 
b/gcc/testsuite/gcc.target/arm/pr65647.c
index e0c534bc813a..663157c9c66f 100644
--- a/gcc/testsuite/gcc.target/arm/pr65647.c
+++ b/gcc/testsuite/gcc.target/arm/pr65647.c
@@ -1,6 +1,6 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target arm_arch_v6m_ok } */
-/* { dg-options "-O3 -w -fpermissive" } */
+/* { dg-options "-O3 -w -fpermissive -std=gnu17" } */
 /* { dg-add-options arm_arch_v6m } */
 
 a, b, c, e, g = &e, h, i = 7, l = 1, m, n, o, q = &m, r, s = &r, u, w = 9, x,

Reply via email to