diff mbox

PATCH: Change ix86_isa_flags to HOST_WIDE_INT

Message ID Pine.LNX.4.64.1108191016110.3120@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers Aug. 19, 2011, 10:17 a.m. UTC
One of these patches appears to have broken bootstrap on
x86_64-unknown-linux-gnu with Ada enabled:

In file included from ../../tm.h:19:0,
                 from targext.c:48:
../../options.h:3533:3: error: unknown type name 'HOST_WIDE_INT'
../../options.h:3534:3: error: unknown type name 'HOST_WIDE_INT'

I've applied this patch to fix it.

2011-08-19  Joseph Myers  <joseph@codesourcery.com>

	* opth-gen.awk: Do not declare target save/restore structures and
	functions if IN_RTS defined.
diff mbox

Patch

Index: opth-gen.awk
===================================================================
--- opth-gen.awk	(revision 177893)
+++ opth-gen.awk	(working copy)
@@ -127,7 +127,7 @@ 
 # Also, order the structure so that pointer fields occur first, then int
 # fields, and then char fields to provide the best packing.
 
-print "#if !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS)"
+print "#if !defined(IN_LIBGCC2) && !defined(IN_TARGET_LIBS) && !defined(IN_RTS)"
 print ""
 print "/* Structure to save/restore optimization and target specific options.  */";
 print "struct GTY(()) cl_optimization";