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]

Re: [4.0 PATCH] Backport find_first_parameter_load fix (PR rtl-optimization/23299)


Jakub Jelinek wrote:
Hi!

The testcase below is miscompiled, because insert_insn_end_bb
inserts the hoisted insn before the instruction that sets up
the pseudo it is using.  When it is searching for a parameter
load of a call with EH edge and the parameter load has been CSEd
out (r3 is incoming argument as well as outgoing argument and contains the
same value), it will keep searching till the beginning of the BB.
This has been fixed on mainline by Dale Johannesen, ok for
4.0 (and the testcase for HEAD as well)?
Bootstrapped/regtested on {i386,x86_64,ia64,ppc,ppc64,s390,s390x}-linux.

OK.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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