[committed] Minor testsuite fallout from c99 changes

Message ID f39c1ec0-e16d-4235-9f6d-77f61cb3162b@gmail.com
State Committed
Commit acfd33620af3519b84baecedb0eb6618c2f599a6
Headers
Series [committed] Minor testsuite fallout from c99 changes |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-arm warning Patch is already merged
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 warning Patch is already merged

Commit Message

Jeff Law Dec. 14, 2023, 12:26 a.m. UTC
  The alpha port recently failed its weekly test due to a lack of a 
prototype for the syscall() routine.  Fixed thusly and pushed to the trunk.

Jeff
commit acfd33620af3519b84baecedb0eb6618c2f599a6
Author: Jeff Law <jlaw@ventanamicro.com>
Date:   Wed Dec 13 17:24:39 2023 -0700

    [committed] Minor testsuite fallout from c99 changes
    
    The alpha port failed its weekly test due to a lack of a prototype for the
    syscall() routine.  Fixed thusly and pushed to the trunk.
    
    gcc/testsuite
            * gcc.c-torture/execute/20001229-1.c: Prototype syscall().
  

Patch

diff --git a/gcc/testsuite/gcc.c-torture/execute/20001229-1.c b/gcc/testsuite/gcc.c-torture/execute/20001229-1.c
index 3bf333dd5a8..a235fdad138 100644
--- a/gcc/testsuite/gcc.c-torture/execute/20001229-1.c
+++ b/gcc/testsuite/gcc.c-torture/execute/20001229-1.c
@@ -14,6 +14,8 @@  void exit (int);
 #include <asm/sysinfo.h>
 #include <asm/unistd.h>
 
+int syscall (int, ...);
+
 static inline int
 setsysinfo(unsigned long op, void *buffer, unsigned long size,
            int *start, void *arg, unsigned long flag)