This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49352] [4.7 Regression] -fcompare-debug failure with -O2 -ftree-vectorize
- 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: Sat, 11 Jun 2011 07:55:32 +0000
- Subject: [Bug tree-optimization/49352] [4.7 Regression] -fcompare-debug failure with -O2 -ftree-vectorize
- Auto-submitted: auto-generated
- References: <bug-49352-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49352
--- Comment #8 from Ira Rosen <irar at il dot ibm.com> 2011-06-11 07:54:55 UTC ---
Created attachment 24490
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24490
an updated patch
I updated your patch:
- call vect_is_slp_reduction only if check_reduction is true
- removed COND_EXPR and GIMPLE_BINARY_RHS checks
- replaced !is_pattern_stmt_p with !STMT_VINFO_IN_PATTERN_P for use_stmt,
because we actually want the pattern stmt and not the stmt it replaced
Bootstrapped and tested on powerpc64-suse-linux.
Thanks,
Ira