From 7e7de68b893876ebc06e378fcd3a7090fddd0865 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 13 Jun 2003 21:52:02 +0000 Subject: [PATCH] tsystem.h (abort): Declare in inhibit_libc case to remove build warnings for addvsi3, et.al. * tsystem.h (abort): Declare in inhibit_libc case to remove build warnings for addvsi3, et.al. From-SVN: r67915 --- gcc/ChangeLog | 5 +++++ gcc/tsystem.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8416f98f896..c526f71cd7b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-06-13 Doug Evans + + * tsystem.h (abort): Declare in inhibit_libc case to remove build + warnings for addvsi3, et.al. + 2003-06-13 Aldy Hernandez * c-common.c (handle_mode_attribute): Use VECTOR_MODE_P macro. diff --git a/gcc/tsystem.h b/gcc/tsystem.h index f36510b15ae..d76c1ba62cc 100644 --- a/gcc/tsystem.h +++ b/gcc/tsystem.h @@ -58,6 +58,10 @@ extern void free (void *); extern int atexit (void (*)(void)); #endif +#ifndef abort +extern void abort (void) __attribute__ ((__noreturn__)); +#endif + #else /* ! inhibit_libc */ /* We disable this when inhibit_libc, so that gcc can still be built without needing header files first. */ -- 2.30.2