This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/52112] Vectorizer fails when using CRTP
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 03 Feb 2012 17:44:36 +0000
- Subject: [Bug tree-optimization/52112] Vectorizer fails when using CRTP
- Auto-submitted: auto-generated
- References: <bug-52112-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52112
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-03 17:44:36 UTC ---
<bb 10>:
vect_var_.146 = MEM[base: &A, index: ivtmp.196];
MEM[base: &B, index: ivtmp.196] = [mult_expr] vect_var_.146 * vect_var_.146;
ivtmp.196 = ivtmp.196 + 16;
if (ivtmp.196 != 800)
goto <bb 10>;
else
goto <bb 11>;
Is what we get for 4.4 which is obviously vectorized.