diff mbox

[committed] Add abort prototype to readeflags-1.c/writeeflags-1.c

Message ID 20150708170927.GA6668@intel.com
State New
Headers show

Commit Message

H.J. Lu July 8, 2015, 5:09 p.m. UTC

diff mbox

Patch

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 225565)
+++ ChangeLog	(working copy)
@@ -1,3 +1,8 @@ 
+2015-07-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* gcc.target/i386/readeflags-1.c (abort): New prototype.
+	* gcc.target/i386/writeeflags-1.c (abort): Likewise.
+
 2015-07-08  Paolo Carlini  <paolo.carlini@oracle.com>
 
 	PR c++/66421
Index: gcc.target/i386/readeflags-1.c
===================================================================
--- gcc.target/i386/readeflags-1.c	(revision 225565)
+++ gcc.target/i386/readeflags-1.c	(working copy)
@@ -3,6 +3,8 @@ 
 
 #include <x86intrin.h>
 
+extern void abort (void);
+
 #ifdef __x86_64__
 #define EFLAGS_TYPE unsigned long long int
 #else
Index: gcc.target/i386/writeeflags-1.c
===================================================================
--- gcc.target/i386/writeeflags-1.c	(revision 225565)
+++ gcc.target/i386/writeeflags-1.c	(working copy)
@@ -3,6 +3,8 @@ 
 
 #include <x86intrin.h>
 
+extern void abort (void);
+
 #ifdef __x86_64__
 #define EFLAGS_TYPE unsigned long long int
 #else