This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/46172] [4.3/4.4/4.5/4.6 Regression] ICE: in expand_widen_pattern_expr, at optabs.c:522 with -ftree-vectorize -fno-tree-dce
- From: "irar at il dot ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 2 Nov 2010 13:12:00 +0000
- Subject: [Bug tree-optimization/46172] [4.3/4.4/4.5/4.6 Regression] ICE: in expand_widen_pattern_expr, at optabs.c:522 with -ftree-vectorize -fno-tree-dce
- Auto-submitted: auto-generated
- References: <bug-46172-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46172
--- Comment #3 from Ira Rosen <irar at il dot ibm.com> 2010-11-02 13:11:48 UTC ---
The vectorizer assumes that DCE will be applied after it, and not only in this
case. I don't see why someone would want to use this combination of flags
(-ftree-vectorize -fno-tree-dce). I think it is reasonable to automatically
invoke DCE in case -ftree-vectorize is turned on.
Ira