[Bug testsuite/91549] [10 regression] gcc.dg/wrapped-binop-simplify.c fails starting with r274925
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Aug 27 08:24:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91549
--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to rdapp from comment #4)
> Would this be ok?
>
> diff --git a/gcc/testsuite/gcc.dg/wrapped-binop-simplify.c
> b/gcc/testsuite/gcc.dg/wrapped-binop-simplify.c
> index 44d85c04bfb..0d83384cd0a 100644
> --- a/gcc/testsuite/gcc.dg/wrapped-binop-simplify.c
> +++ b/gcc/testsuite/gcc.dg/wrapped-binop-simplify.c
> @@ -1,5 +1,5 @@
> -/* { dg-do compile } */
> -/* { dg-options "-O2 -fdump-tree-vrp2-details" } */
> +/* { dg-do compile { target x86_64-*-* s390x-*-* } } */
> +/* { dg-options "-O2 -fdump-tree-vrp2-details -m64" } */
> /* { dg-final { scan-tree-dump-times "gimple_simplified to" 4 "vrp2" } } */
>
> void v1 (unsigned long *in, unsigned long *out, unsigned int n)
This approach is not OK, you should use lp64 effective target instead of -m64
option. Please see many examples in testsuite/gcc.dg.
Also, x86 is a multilib target, described as { i?86-*-* x86_64-*-* }.
More information about the Gcc-bugs
mailing list