This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Bootstraps broken with your patch
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: "gcc at gcc dot gnu dot org list" <gcc at gcc dot gnu dot org>, Andrew Pinski <pinskia at physics dot uc dot edu>, "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 24 Apr 2004 09:27:36 -0400
- Subject: Re: [tree-ssa] Bootstraps broken with your patch
- References: <1082798005.24507.7.camel@localhost.localdomain>
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