This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Vector shifting patch
- From: Artem Shinkarov <artyom dot shinkaroff at gmail dot com>
- To: Dominique Dhumieres <dominiq at lps dot ens dot fr>
- Cc: gcc-patches at gcc dot gnu dot org, richard dot guenther at gmail dot com
- Date: Fri, 29 Oct 2010 17:39:52 +0100
- Subject: Re: Vector shifting patch
- References: <20101029162953.3271E3BE18@mailhost.lps.ens.fr>
I don't know why Richard removed -fno-var-tracking-assignments
the bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44569
is still there, and this option is required to prevent this error.
I cannot commit to svn, but the solution is to add a
/* { dg-options "-fno-var-tracking-assignments" } */
in vector-shift2.c
Artem.
On Fri, Oct 29, 2010 at 5:29 PM, Dominique Dhumieres <dominiq@lps.ens.fr> wrote:
> On x86_64-apple-darwin10.4.0, compiling gcc.dg/torture/vector-shift2.c
> with -O3 -g gives an ICE:
>
> [macbook] f90/bug% gcc46 /opt/gcc/work/gcc/testsuite/gcc.dg/torture/vector-shift2.c ?-O3 -g
> /opt/gcc/work/gcc/testsuite/gcc.dg/torture/vector-shift2.c: In function 'main':
> /opt/gcc/work/gcc/testsuite/gcc.dg/torture/vector-shift2.c:59:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5217
>
> with both -m32 and -m64.
>
> TIA
>
> Dominique
>