This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/56175] [4.7/4.8 Regression] Issue with combine phase on x86.


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

--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> 2013-02-25 15:31:37 UTC ---
Author: rguenth
Date: Mon Feb 25 15:31:31 2013
New Revision: 196263

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196263
Log:
2013-02-25  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/56175
    * tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate,
    split out from ...
    (simplify_bitwise_binary): ... here.  Also guard the conversion
    of (type) X op CST to (type) (X op ((type-x) CST)) with it.

    * gcc.dg/tree-ssa/forwprop-24.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/forwprop-24.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-forwprop.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]