https://gcc.gnu.org/g:cdcc93877f85b2dd95cec0b87abee3a6c6d04780

commit r15-5837-gcdcc93877f85b2dd95cec0b87abee3a6c6d04780
Author: Andrew Pinski <quic_apin...@quicinc.com>
Date:   Sat Nov 30 20:34:54 2024 -0800

    testsuite: Fix part of sve-sizeless-2.c
    
    r15-5783-gb5df3eefd70064 missed to update part of sve-sizeless-2.C to
    include the declaration of the bar function.
    This corrects the oversight there.
    
    Pushed as obvious after testing the tecase for aarch64-linux-gnu.
    
    gcc/testsuite/ChangeLog:
    
            * g++.dg/ext/sve-sizeless-2.C: Add declaration of bar.
    
    Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com>

Diff:
---
 gcc/testsuite/g++.dg/ext/sve-sizeless-2.C | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/testsuite/g++.dg/ext/sve-sizeless-2.C 
b/gcc/testsuite/g++.dg/ext/sve-sizeless-2.C
index 87937d060d2e..a5ee230f76a3 100644
--- a/gcc/testsuite/g++.dg/ext/sve-sizeless-2.C
+++ b/gcc/testsuite/g++.dg/ext/sve-sizeless-2.C
@@ -124,6 +124,8 @@ void thrower2 () throw (svint8_t); // { dg-error {cannot 
throw or catch SVE type
 void thrower3 () throw (svint8_t); // { dg-error {cannot throw or catch SVE 
type 'svint8_t'} "" { target c++98_only } }
 #endif
 
+extern int bar (void);
+
 // Main tests for statements and expressions.
 
 void

Reply via email to