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

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 10 13:04:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49352

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24486|0                           |1
        is obsolete|                            |

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-10 13:04:17 UTC ---
Created attachment 24487
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24487
gcc47-pr49352.patch

Updated patch, with the COND_EXPR check and testcase + ChangeLog.
Tested so far just with make check-gcc
RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} vect.exp'
Will do full bootstrap/regtest now.

Some further cleanups will be needed (e.g. the if (code == COND_EXPR || ...
code in vect_is_slp_reduction which can't be reached both because of
the new if (code != COND_EXPR) return false; and because
if (get_gimple_rhs_class (code) == GIMPLE_BINARY_RHS) around it as well), but I
guess that can be handled as followup.



More information about the Gcc-bugs mailing list