This is the mail archive of the gcc-patches@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]

[patch] a fix for PR45312


The following patch fixes PR45312. The details are on http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45312

I'd like to add that this bug is probably 15 years old and removing merge_assigned_reloads does not affect the code at least for SPEC2000 and many other benchmarks I tried on x86/x86_64 because subsequent optimizations can do the same as this function (mainly removing reload in the same hard register from the same source).

Ok to commit into the trunk, gcc 4.4 and gcc 4.5 branch?

2010-09-09 Vladimir Makarov <vmakarov@redhat.com>

    PR middle-end/45312
    * reload1.c (merge_assigned_reloads): Remove.
    (reload_as_needed): Don't call it.



Attachment: pr45312.patch
Description: Text document


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