Patch to fix emit_library_call_value_1 for const functions
Richard Henderson
rth@cygnus.com
Sat Apr 8 11:07:00 GMT 2000
On Sat, Apr 08, 2000 at 03:02:27PM +0200, Jan Hubicka wrote:
> I only wanted to keep code in sync with expand_call. We use sequence
> for malloc calls there to make them removable ...
I can't remove malloc calls. We did it, I thought, to track
that the return value doesn't alias anything.
> Oops! I see, I've replaced wrong arg. Silly.
> I wonder why this didn't show up in the regression tests.
Cause x86 doesn't use this value. You'd have had to try ppc or arm.
> (expand_call): Do not reverze args in "equal from" field.
> (emit_library_call_value_1): Emit_libcall_block for const and pure
> function.
Ok.
r~
More information about the Gcc-patches
mailing list