This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [tree-ssa] Bootstraps broken with your patch



On Apr 24, 2004, at 05:13, Diego Novillo wrote:


Andrew,

This

+2004-04-23  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * gfortranspec.c: Include the target headers.
+

Breaks bootstraps everywhere with:

[ ... ]
./multilib.h:10: warning: unused variable `multilib_extra'
./multilib.h:6: warning: unused variable `multilib_matches_raw'
./multilib.h:1: warning: unused variable `multilib_raw'
./multilib.h:10: warning: 'multilib_extra' defined but not used
./multilib.h:16: warning: 'multilib_options' defined but not used
make[2]: *** [gfortranspec.o] Error 1
make[2]: Leaving directory `/notnfs/dnovillo/sbox/tree-ssa-branch/bld.tobiano/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/notnfs/dnovillo/sbox/tree-ssa-branch/bld.tobiano/gcc'
make: *** [bootstrap] Error 2

Simple mistake I included multilib.h when I did not need it. I had read cp/g++spec.c and gcc.c wrong, I thought I needed multilib.h.

I committed this as obvious

Thanks,
Andrew Pinski

ChangeLog:

* gfortranspec.c: Do not include multilib.h.


Patch:


Index: gfortranspec.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fortran/Attic/gfortranspec.c,v
retrieving revision 1.1.2.3
diff -u -p -r1.1.2.3 gfortranspec.c
--- gfortranspec.c	23 Apr 2004 13:32:58 -0000	1.1.2.3
+++ gfortranspec.c	24 Apr 2004 13:24:57 -0000
@@ -49,7 +49,6 @@ Boston, MA 02111-1307, USA.  */
 #include "gcc.h"

 #include "coretypes.h"
-#include "multilib.h" /* before tm.h */
 #include "tm.h"

#ifndef MATH_LIBRARY


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]