Hi,

This patch fixes the bug PR50663, as I reported at:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50663

It records the missing information and add implicit set info to AVIN of the
basic block that implicit set is recorded for.

The patch has been tested on x86 and arm-none-eabi, and no failure
introduced.

Is it OK?

Thanks

2011-11-07  Bin Cheng  <bin.ch...@arm.com>

        PR rtl-optimization/50663
        * cprop.c (bb_implicit): New global variable.
        (insert_set_in_table): Add additional parameter, record implicit set
info.
        (hash_scan_set): Add additional parameter.
        (compute_hash_table_work): And
        (hash_scan_insn): Pass implicit to hash_scan_set.
        (compute_cprop_data): Add implicit set to AVIN of block which the
implicit
        set is recorded for.
        (one_cprop_pass): Handle bb_implicit array.

Attachment: pr50663-20111105.patch
Description: Binary data

Reply via email to