[PCH] fix ia64 build bug

Geoffrey Keating geoffk@romulus.sfbay.redhat.com
Fri May 31 02:47:00 GMT 2002


I've managed to get access to an ia64 machine, and this seems to fix
the problem that Andreas reported.

Bootstrapped & tested on i686-pc-linux, with gcac checking.

-- 
Geoff Keating <geoffk@redhat.com>

===File ~/patches/pchbranch-insnaddrs.patch=================
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 1.12690.2.45
diff -p -u -p -r1.12690.2.45 ChangeLog
--- ChangeLog	23 May 2002 19:28:07 -0000	1.12690.2.45
+++ ChangeLog	24 May 2002 21:47:54 -0000
@@ -1,3 +1,7 @@
+2002-05-24  Geoffrey Keating  <geoffk@redhat.com>
+
+	* final.c (insn_addresses_): Move out of ifdef.
+
 2002-05-23  Geoffrey Keating  <geoffk@redhat.com>
 
 	* varray.c (uses_ggc): Make more varray kinds GCable.
Index: final.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/final.c,v
retrieving revision 1.238.4.4
diff -p -u -p -r1.238.4.4 final.c
--- final.c	20 May 2002 22:33:04 -0000	1.238.4.4
+++ final.c	24 May 2002 21:47:54 -0000
@@ -579,9 +579,7 @@ dbr_sequence_length ()
 
 static int *insn_lengths;
 
-#ifdef HAVE_ATTR_length
 varray_type insn_addresses_;
-#endif
 
 /* Max uid for which the above arrays are valid.  */
 static int insn_lengths_max_uid;
============================================================



More information about the Gcc-patches mailing list