------- 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

Reply via email to