[Bug tree-optimization/58472] gomp4: ICE in in vectorizable_store, at tree-vect-stmts.c:4192

2013-09-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58472 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Thu Sep 19 17:03:51 2013 New Revision: 202750 URL: http://gcc.gnu.org/viewcvs?rev=202750&root=gcc&view=rev Log: PR tree-optimization/58472 * c-c++-common/gomp/pr58472.c: New test.

[Bug tree-optimization/58472] gomp4: ICE in in vectorizable_store, at tree-vect-stmts.c:4192

2013-09-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58472 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Thu Sep 19 16:56:40 2013 New Revision: 202748 URL: http://gcc.gnu.org/viewcvs?rev=202748&root=gcc&view=rev Log: PR tree-optimization/58472 * tree-vect-stmts.c (vectorizable_store,

[Bug tree-optimization/58472] gomp4: ICE in in vectorizable_store, at tree-vect-stmts.c:4192

2013-09-19 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58472 --- Comment #9 from vincenzo Innocente --- w/o opening another bug report c++ -O2 -S omp4red.cc -fopenmp -Wall omp4red.cc: In function ‘float sumO1()’: omp4red.cc:6:9: warning: ‘simduid.0’ is used uninitialized in this function [-Wuninitialized

[Bug tree-optimization/58472] gomp4: ICE in in vectorizable_store, at tree-vect-stmts.c:4192

2013-09-19 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58472 --- Comment #8 from vincenzo Innocente --- Yes I compile gcc with -O2 -ftree-vectorize on linux I also do bootstrap-lto strange that the compiler does not warn about this uninitialized variable: it does for a couple of others that force me to com

[Bug tree-optimization/58472] gomp4: ICE in in vectorizable_store, at tree-vect-stmts.c:4192

2013-09-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58472 --- Comment #7 from Jakub Jelinek --- I bet the difference is probably that your tree-vect-stmts.o has been compiled with -O2, while mine with -O0.

[Bug tree-optimization/58472] gomp4: ICE in in vectorizable_store, at tree-vect-stmts.c:4192

2013-09-19 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58472 --- Comment #6 from vincenzo Innocente --- seems so gcc -O2 libgomp/testsuite/libgomp.c/simd-4.c -fopenmp c++ -O2 -S omp4red.cc -fopenmp| cat omp4red.s .text .align 4,0x90 .globl __Z5sumO1v __Z5sumO1v: LFB0: etc could you please

[Bug tree-optimization/58472] gomp4: ICE in in vectorizable_store, at tree-vect-stmts.c:4192

2013-09-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58472 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/58472] gomp4: ICE in in vectorizable_store, at tree-vect-stmts.c:4192

2013-09-19 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58472 --- Comment #4 from vincenzo Innocente --- gcc -O2 libgomp/testsuite/libgomp.c/simd-3.c -fopenmp libgomp/testsuite/libgomp.c/simd-3.c: In function ‘foo’: libgomp/testsuite/libgomp.c/simd-3.c:14:1: internal compiler error: in vectorizable_store, a

[Bug tree-optimization/58472] gomp4: ICE in in vectorizable_store, at tree-vect-stmts.c:4192

2013-09-19 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58472 --- Comment #3 from vincenzo Innocente --- on linux c++ -O2 -ftree-vectorizer-verbose=1 -S omp4red.cc -fopenmp omp4red.cc:8:13: note: loop vectorized omp4red.cc: In function 'float sumO1()': omp4red.cc:4:7: internal compiler error: in vectori

[Bug tree-optimization/58472] gomp4: ICE in in vectorizable_store, at tree-vect-stmts.c:4192

2013-09-19 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58472 --- Comment #2 from vincenzo Innocente --- yes cat omp4red.cc float a[1024]; float b[1024]; float sumO1() { float s = 0.f; #pragma omp simd reduction(+:s) for (int i=0;i<1024;++i) { s += a[i]*b[i]; } return s; } pb-d-128-141-131-26:ve

[Bug tree-optimization/58472] gomp4: ICE in in vectorizable_store, at tree-vect-stmts.c:4192

2013-09-19 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58472 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment #