This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: tree-ssa does not build on x86-64-linux
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: Diego Novillo <dnovillo at redhat dot com>,gcc-bugs at gcc dot gnu dot org
- Date: Wed, 12 Feb 2003 02:52:30 -0500
- Subject: Re: tree-ssa does not build on x86-64-linux
On Wednesday, February 12, 2003, at 02:37 AM, Andreas Jaeger wrote:
Diego,
the current tree-ssa branch does not build for me on x86-64:
In file included from
/usr/src/aj/cvs/gcc-tree-ssa-20020619-branch/gcc/unwind-dw2-fde-
glibc.c:58:
/usr/src/aj/cvs/gcc-tree-ssa-20020619-branch/gcc/unwind-dw2-fde.c: In
function `__register_frame_info_bases':
/usr/src/aj/cvs/gcc-tree-ssa-20020619-branch/gcc/unwind-dw2-fde.c:924:
internal compiler error: in gt_ggc_mx_varray_head_tag, at
gtype-desc.c:174
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Unfortunatly the bug cannot be reproduced if I use -save-temps :-(
I think I butted heads with this one today at random points.
Diego always seems to forget the GTY ((skip ("")) or GTY ((param_is
(<type>)) on the varrays. :P
Try this:
Index: tree-flow.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-flow.h,v
retrieving revision 1.1.4.54
diff -u -3 -p -r1.1.4.54 tree-flow.h
--- tree-flow.h 9 Feb 2003 04:45:18 -0000 1.1.4.54
+++ tree-flow.h 12 Feb 2003 07:50:36 -0000
@@ -81,7 +83,7 @@ struct operands_d GTY(())
tree * GTY ((length ("1"))) def_op;
/* Array of pointers to each operand in the statement. */
- varray_type use_ops;
+ varray_type GTY ((skip (""))) use_ops;
};
typedef struct operands_d *operands_t;
@@ -104,7 +106,7 @@ struct dataflow_d GTY(())
/* Immediate uses. This is a list of all the statements and PHI
nodes
that are immediately reached by the definitions made in this
statement. */
- varray_type immediate_uses;
+ varray_type GTY ((skip (""))) immediate_uses;
/* Reached uses. This is a list of all the possible program
statements
that may be reached directly or indirectly by definitions made in
this
line 174 in gtype-desc.c is:
173 case VARRAY_DATA_GENERIC:
174 abort();
175 break;
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj