[Bug tree-optimization/27299] New: gcc 4.1 produces bad code -ftree-vectorize option
gringo at slonko dot net
gcc-bugzilla@gcc.gnu.org
Tue Apr 25 08:00:00 GMT 2006
Compiling an attached test program on AMD64 using gcc-4.1.0 with '-O
-ftree-vectorize' produces a code which segfaults, eg.
gringo@sun ~ $ gcc -O -ftree-vectorize test.c -o test
gringo@sun ~ $ ./test
Segmentation fault
Compiling it using any -O flags doesn't produce code which segfaults, eg:
gringo@sun ~ $ gcc -O3 test.c -o test
gringo@sun ~ $ ./test
gringo@sun ~ $
I'm using glibc-2.4-r1 (Gentoo) and kernel 2.6.16-beyond2.
--
Summary: gcc 4.1 produces bad code -ftree-vectorize option
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gringo at slonko dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27299
More information about the Gcc-bugs
mailing list