[Bug tree-optimization/52112] Vectorizer fails when using CRTP

2012-02-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52112 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/52112] Vectorizer fails when using CRTP

2012-02-03 Thread ddesics at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52112 --- Comment #4 from Daniel Davis 2012-02-03 18:24:49 UTC --- Any thoughts on why it won't vectorize for me on x86_64 4.6.1?

[Bug tree-optimization/52112] Vectorizer fails when using CRTP

2012-02-03 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52112 --- Comment #3 from Andrew Pinski 2012-02-03 17:44:36 UTC --- : 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

[Bug tree-optimization/52112] Vectorizer fails when using CRTP

2012-02-03 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52112 --- Comment #2 from Andrew Pinski 2012-02-03 17:43:41 UTC --- Even in 4.4, both multiplication loops are vectorized

[Bug tree-optimization/52112] Vectorizer fails when using CRTP

2012-02-03 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52112 --- Comment #1 from Andrew Pinski 2012-02-03 17:40:23 UTC --- This is vectorized for me on x86_64 on the trunk.