[PATCH] Add testcase for 4.8 aarch64 ICE

Richard Biener richard.guenther@gmail.com
Wed Jun 15 13:16:00 GMT 2016


On Wed, Jun 15, 2016 at 1:51 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> Hi!
>
> This testcase ICEs on aarch64 at -O2 on the 4.8 branch, got fixed with
> PR52714 fix (r208204).
>
> Is the testcase ok for trunk?  Tested on x86_64-linux and i686-linux.

Ok.

RIchard.

> 2016-06-15  Jakub Jelinek  <jakub@redhat.com>
>
>         * gcc.c-torture/compile/20160615-1.c: New test.
>
> --- gcc/testsuite/gcc.c-torture/compile/20160615-1.c.jj 2016-06-15 11:17:54.690689056 +0200
> +++ gcc/testsuite/gcc.c-torture/compile/20160615-1.c    2016-06-15 11:17:48.811765657 +0200
> @@ -0,0 +1,10 @@
> +int a;
> +void bar (int, unsigned, unsigned);
> +
> +void
> +foo (unsigned x)
> +{
> +  unsigned b = a ? x : 0;
> +  if (x || b)
> +    bar (0, x, b);
> +}
>
>         Jakub



More information about the Gcc-patches mailing list