This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix vax compilation
- From: Richard Henderson <rth at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 Sep 2002 14:06:20 -0700
- Subject: fix vax compilation
vax.c:67: `default_assemble_visibility' undeclared here (not in a function)
vax.c:67: initializer element is not constant
r~
* vax.c: Include tree.h earlier.
Index: config/vax/vax.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/vax/vax.c,v
retrieving revision 1.29
diff -c -p -d -u -r1.29 vax.c
--- config/vax/vax.c 21 Aug 2002 02:41:51 -0000 1.29
+++ config/vax/vax.c 12 Sep 2002 21:04:59 -0000
@@ -22,6 +22,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include "system.h"
#include "rtl.h"
+#include "tree.h"
#include "regs.h"
#include "hard-reg-set.h"
#include "real.h"
@@ -30,7 +31,6 @@ Boston, MA 02111-1307, USA. */
#include "function.h"
#include "output.h"
#include "insn-attr.h"
-#include "tree.h"
#include "recog.h"
#include "expr.h"
#include "flags.h"