This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, match] Fix pr68714
- From: Andreas Schwab <schwab at suse dot de>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Richard Biener <rguenther at suse dot de>, gcc-patches at gcc dot gnu dot org, Jakub Jelinek <jakub at redhat dot com>
- Date: Tue, 15 Mar 2016 10:26:47 +0100
- Subject: Re: [PATCH, match] Fix pr68714
- Authentication-results: sourceware.org; auth=none
- References: <56D5F4AC dot 9030504 at redhat dot com> <alpine dot LSU dot 2 dot 11 dot 1603020959000 dot 31547 at t29 dot fhfr dot qr> <56E3777D dot 2080604 at redhat dot com>
Richard Henderson <rth@redhat.com> writes:
> diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr68714.c b/gcc/testsuite/gcc.dg/tree-ssa/pr68714.c
> new file mode 100644
> index 0000000..741d311
> --- /dev/null
> +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr68714.c
> @@ -0,0 +1,9 @@
> +/* { dg-do compile } */
> +/* { dg-options "-O2 -fdump-tree-optimized" } */
> +
> +typedef int vec __attribute__((vector_size(16)));
> +vec f(vec x,vec y){
> + return x<y|x==y;
> +}
> +
> +/* { dg-final { scan-tree-dump-times " <= " 1 "optimized" } } */
That fails on ia64:
$ grep " <= " pr68714.c.211t.optimized
_10 = _8 <= _9 ? -1 : 0;
_13 = _11 <= _12 ? -1 : 0;
_16 = _14 <= _15 ? -1 : 0;
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."