[Bug tree-optimization/49352] [4.7 Regression] -fcompare-debug failure with -O2 -ftree-vectorize

irar at il dot ibm.com gcc-bugzilla@gcc.gnu.org
Sat Jun 11 07:55:00 GMT 2011


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



More information about the Gcc-bugs mailing list