[Bug rtl-optimization/32636] [4.3 Regression] 25_algorithms/search_n/iterator.cc: miscompiled on hppa2.0w-hp-hpux11.11
dave at hiauly1 dot hia dot nrc dot ca
gcc-bugzilla@gcc.gnu.org
Tue Dec 11 21:44:00 GMT 2007
------- Comment #36 from dave at hiauly1 dot hia dot nrc dot ca 2007-12-11 21:44 -------
Subject: Re: [4.3 Regression] 25_algorithms/search_n/iterator.cc: miscompiled
on hppa2.0w-hp-hpux11.11
> 2) the instruction to load lo_sum of the address has not been dropped, I posted
> only part of the function's assembly. The bug is that dbr decides to put
> ldil LR'L$C0002,%r28 instruction from branch target (L$0026) into a delay
> slot
> even when %r28 is in fact live (passed from caller, unmodified to foo1)
>
> I guess we need to ensure somehow that df knows struct_value_rtx regs are live
> at the beginning of function for functions that return struct.
I guess dbr must find a REG_DEAD note for %r28.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32636
More information about the Gcc-bugs
mailing list