This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] include cfglayout.h in gcc/config/sparc.c
- From: James A Morrison <ja2morri at student dot math dot uwaterloo dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 15 Jun 2003 14:31:07 -0400
- Subject: [PATCH] include cfglayout.h in gcc/config/sparc.c
Hi,
I tried to bootstrap mainline today and it failed trying to compile
gcc/config/sparc.c. It seems insn_locators_initialize () is declared in
cfglayout.h, so I included it since the definition for this function had
not been seen in sparc.c. The appended patch was needed to bootstrap
sparc-linux-gnu.
Jim
2003-06-15 James A. Morrison <ja2morri@student.math.uwaterloo.ca>
* config/sparc/sparc.c: Include cfglayout.h.
Index: config/sparc/sparc.c
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config/sparc/sparc.c,v
retrieving revision 1.245
diff -u -r1.245 sparc.c
--- config/sparc/sparc.c 15 Jun 2003 07:36:43 -0000 1.245
+++ config/sparc/sparc.c 15 Jun 2003 18:05:06 -0000
@@ -1,6 +1,6 @@
/* Subroutines for insn-output.c for Sun SPARC.
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com)
64 bit SPARC V9 support by Michael Tiemann, Jim Wilson, and Doug Evans,
at Cygnus Support.
@@ -47,6 +47,7 @@
#include "debug.h"
#include "target.h"
#include "target-def.h"
+#include "cfglayout.h"
/* 1 if the caller has placed an "unimp" insn immediately after the call.
This is used in v8 code when calling a function that returns a structure.