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

--- Comment #15 from Bernd Schmidt <bernds at gcc dot gnu.org> ---
Author: bernds
Date: Mon Feb  8 15:31:08 2016
New Revision: 233215

URL: https://gcc.gnu.org/viewcvs?rev=233215&root=gcc&view=rev
Log:
Fix latent LRA remat issue (PR68730)

        PR rtl-optimization/68730
        * lra-remat.c (insn_to_cand_activation): New static variable.
        (lra_remat): Allocate and free it.
        (create_cand): New arg activation. Initialize a field in
        insn_to_cand_activation if it is nonnull.
        (create_cands): Pass the activation insn to create_cand when making
        a candidate involving an output reload.  Reorganize code a little.
        (do_remat): Keep track of active status of candidates in a separate
        bitmap.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-remat.c

Reply via email to