On Tue, Apr 27, 2021 at 03:20:47PM +0100, Richard Earnshaw via Gcc-patches
wrote:
> > --- gcc/config/aarch64/aarch64.c.jj 2021-04-16 20:49:23.602579852 +0200
> > +++ gcc/config/aarch64/aarch64.c2021-04-26 16:40:46.835269671 +0200
> > @@ -10778,7 +10778,7 @@ aarch64_print_operand (FILE *f, rtx
On 27/04/2021 14:16, Jakub Jelinek via Gcc-patches wrote:
Hi!
The following patch fixes UBs in the compiler when negativing
a CONST_INT containing HOST_WIDE_INT_MIN. I've changed the spots where
there wasn't an obvious earlier condition check or predicate that
would fail for such CONST_INTs.
Jakub Jelinek writes:
> Hi!
>
> The following patch fixes UBs in the compiler when negativing
> a CONST_INT containing HOST_WIDE_INT_MIN. I've changed the spots where
> there wasn't an obvious earlier condition check or predicate that
> would fail for such CONST_INTs.
>
> Bootstrapped/regtested o
Hi!
The following patch fixes UBs in the compiler when negativing
a CONST_INT containing HOST_WIDE_INT_MIN. I've changed the spots where
there wasn't an obvious earlier condition check or predicate that
would fail for such CONST_INTs.
Bootstrapped/regtested on aarch64-linux, ok for trunk?
2021-