This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21998] (cond ? result1 : result2) is vectorized, where equivalent if-syntax isn't (store)
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Jul 2012 11:28:45 +0000
- Subject: [Bug tree-optimization/21998] (cond ? result1 : result2) is vectorized, where equivalent if-syntax isn't (store)
- Auto-submitted: auto-generated
- References: <bug-21998-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21998
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-13 11:28:45 UTC ---
We have two related flags here, -ftree-loop-if-convert-stores, and
--param allow-store-data-races. We can adjust the former to honor the
latter if specified and then eventually vectorize this, too.