From: Richard Biener Date: Wed, 25 Nov 2015 08:46:34 +0000 (+0000) Subject: re PR tree-optimization/68502 ([i686] spec2000/179.art runfails after r222914) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=993a6bd98b1e9a31f453f3ac7a21550d94b5b601;p=gcc.git re PR tree-optimization/68502 ([i686] spec2000/179.art runfails after r222914) 2015-11-25 Richard Biener PR tree-optimization/68502 * tree-vect-data-refs.c (vect_analyze_group_access_1): Restore check that the step is a multiple of the type size. * gcc.dg/vect/pr68502-1.c: New testcase. * gcc.dg/vect/pr68502-2.c: Likewise. From-SVN: r230854 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fd78249b010..362f21f1a9c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-11-25 Richard Biener + + PR tree-optimization/68502 + * tree-vect-data-refs.c (vect_analyze_group_access_1): Restore + check that the step is a multiple of the type size. + 2015-11-24 Michael Collison * config/aarch64/aarch64-simd.md (widen_ssum, widen_usum) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cff124d30a0..ec80893ee43 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-11-25 Richard Biener + + PR tree-optimization/68502 + * gcc.dg/vect/pr68502-1.c: New testcase. + * gcc.dg/vect/pr68502-2.c: Likewise. + 2015-11-24 Michael Collison * gcc.target/aarch64/saddw-1.c: New test. diff --git a/gcc/testsuite/gcc.dg/vect/pr68502-1.c b/gcc/testsuite/gcc.dg/vect/pr68502-1.c new file mode 100644 index 00000000000..4f7d0bfca38 --- /dev/null +++ b/gcc/testsuite/gcc.dg/vect/pr68502-1.c @@ -0,0 +1,48 @@ +#include +#include "tree-vect.h" + +typedef struct { + double *I; + double W; + double X; + double V; + double U; + double P; + double Q; + double R; +} f1_neuron; + +f1_neuron *f1_layer; + +int numf1s = 1000; + +void __attribute__((noinline,noclone)) +reset_nodes() +{ + int i; + + for (i=0;i +#include "tree-vect.h" + +typedef struct { + short I; + int W; + int X; + int V; + int U; + int P; + int Q; + int R; +} __attribute__((packed)) f1_neuron; + +f1_neuron *f1_layer; + +int numf1s = 1000; + +void __attribute__((noinline,noclone)) +reset_nodes() +{ + int i; + + for (i=0;i