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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 25 08:09:02 2016
New Revision: 233692

URL: https://gcc.gnu.org/viewcvs?rev=233692&root=gcc&view=rev
Log:
        PR rtl-optimization/69896
        * regcprop.c: Include cfgrtl.h.
        (copyprop_hardreg_forward_1): If noop_p insn uses narrower
        than remembered mode, either delete it (if noop_move_p), or
        treat like copy_p but not noop_p instruction.

        * gcc.dg/pr69896.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr69896.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/regcprop.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to