https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66948

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Jul 21 14:03:57 2015
New Revision: 226041

URL: https://gcc.gnu.org/viewcvs?rev=226041&root=gcc&view=rev
Log:
2015-07-21  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/66948
        * genmatch.c (capture_info::walk_match): Also recurse to
        captures.  Properly compute expr state from captures of
        captures.
        * match.pd: Add single-use guards to
        (X & C2) >> C1 into (X >> C1) & (C2 >> C1) transform.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/genmatch.c
    trunk/gcc/match.pd

Reply via email to