This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: lno: Bootstrap failure
- From: Sebastian Pop <sebastian dot pop at cri dot ensmp dot fr>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Fri, 7 May 2004 11:39:27 +0200
- Subject: Re: lno: Bootstrap failure
- References: <m3pt9gdf5b.fsf@gromit.moeb>
Hi,
I have bootstrapped my last patch on the amd64-freebsd box where the
libjava doesn't build.
I have bootstrapped the LNO branch using the following patch on
i686-pc-linux-gnu, and verified that it has built libjava this time.
Sorry for the inconvenient.
Index: tree-chrec.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Attic/tree-chrec.h,v
retrieving revision 1.1.2.17
diff -c -c -3 -p -r1.1.2.17 tree-chrec.h
*** tree-chrec.h 6 May 2004 14:36:39 -0000 1.1.2.17
--- tree-chrec.h 7 May 2004 09:39:10 -0000
*************** build_peeled_chrec (unsigned loop_num,
*** 159,170 ****
static inline tree
build_chrec_top_type (tree type)
{
! if (TYPE_MIN_VALUE (type) != NULL_TREE
! && TYPE_MAX_VALUE (type) != NULL_TREE)
! return build_interval_chrec (TYPE_MIN_VALUE (type),
! TYPE_MAX_VALUE (type));
! else
! return chrec_top;
}
--- 159,180 ----
static inline tree
build_chrec_top_type (tree type)
{
! if (type != NULL_TREE)
! {
! enum tree_code code = TREE_CODE (type);
!
! if ((code == INTEGER_TYPE
! || code == ENUMERAL_TYPE
! || code == BOOLEAN_TYPE
! || code == CHAR_TYPE
! || code == REAL_TYPE)
! && TYPE_MIN_VALUE (type) != NULL_TREE
! && TYPE_MAX_VALUE (type) != NULL_TREE)
! return build_interval_chrec (TYPE_MIN_VALUE (type),
! TYPE_MAX_VALUE (type));
! }
!
! return chrec_top;
}