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  <jos...@codesourcery.com>

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

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";

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to