This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New version of sequence point warnings
- To: Bernd Schmidt <bernds at redhat dot com>
- Subject: Re: New version of sequence point warnings
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Fri, 24 Nov 2000 19:29:33 +0100
- Cc: gcc-patches at gcc dot gnu dot org
- References: <Pine.LNX.4.21.0011241744010.12759-100000@host117.cygnus>
On Friday 24 November 2000 18:45, Bernd Schmidt wrote:
> On Fri, 24 Nov 2000, Bernd Schmidt wrote:
> > * fold-const.c (fold_range_test): Don't crash when lhs or rhs is NULL.
> >
> > Index: fold-const.c
> > ===================================================================
> > RCS file: /cvs/gcc/egcs/gcc/fold-const.c,v
> > retrieving revision 1.140
> > diff -u -p -r1.140 fold-const.c
> > --- fold-const.c 2000/11/24 11:49:45 1.140
> > +++ fold-const.c 2000/11/24 16:26:56
> > @@ -3780,6 +3780,7 @@ fold_range_test (exp)
> > short-circuited branch and the underlying object on both sides
> > is the same, make a non-short-circuit operation. */
> > else if (BRANCH_COST >= 2
> > + && lhs != 0 && rhs != 0
> > && (TREE_CODE (exp) == TRUTH_ANDIF_EXPR
> >
> > || TREE_CODE (exp) == TRUTH_ORIF_EXPR)
> >
> > && operand_equal_p (lhs, rhs, 0))
>
> Bootstrapped on x86-linux and installed. Franz, I hope things build again
> for you now.
Yes, bootstrap finished for me too, thanks.
Now lets see if I can find a fix for the problem with rth's last change to
haifa-sched.c, it seems it conflicts with the scheduled prologue on PPC and
miscalculates register lifetimes for regs used in the prologue :-(.
Franz.