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 rtl-optimization/68730] [6 Regression] wrong code at -O3 on x86_64-linux-gnu (in 32-bit mode)


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

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