This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18546] tree vectorizer does not understand RETURN_DECL
- From: "cjb at mrao dot cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Mar 2005 15:11:42 -0000
- Subject: [Bug tree-optimization/18546] tree vectorizer does not understand RETURN_DECL
- References: <20041118161104.18546.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cjb at mrao dot cam dot ac dot uk 2005-03-04 15:11 -------
I'm not sure that I'm reproducing this; I'm getting the loop reported as vectorized:
% ./g++ -O2 -msse2 -march=pentium4 -ftree-vectorize -fdump-tree-vect-stats
-ftree-vectorizer-verbose=9 -S 18546.cpp
18546.cpp:9: note: LOOP VECTORIZED.
18546.cpp:6: note: vectorized 1 loops in function.
Am enclosing the vectorizer's dump, my source file, and the generated asm. I'm
using "GCC: (GNU) 4.0.0-autovect 20050302 (experimental,
autovect-merge-20050127)" on x86. Andrew, could you let me know whether I'm
misreading the output or whether there's something I'm doing to avoid triggering
the bug? (Or whether it looks like it's been fixed since this was filed.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18546