This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: memcpy result as function argument broken
- To: richard dot earnshaw at arm dot com
- Subject: Re: memcpy result as function argument broken
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Sat, 13 Feb 1999 12:16:28 -0700
- cc: egcs-bugs at egcs dot cygnus dot com, sdouglass at arm dot com
- Reply-To: law at cygnus dot com
In message <199902091443.OAA25396@sun52.NIS.cambridge>you write:
>
> On a sparc-sun-solaris2.5.1, the following test program compiled with
> egcs-1.1.1 with -O aborts when run. A fix appears to have been added to
> the trunk, but is there any chance of this fix being in egcs-1.1.2?
>
> relevant fix (I think)
>
> Tue Aug 18 10:33:30 1998 Jeffrey A Law (law@cygnus.com)
>
> * expr.c (emit_block_move): Do not call memcpy as a libcall
> instead build up a CALL_EXPR and call it like any other
> function.
> (clear_storage): Similarly for memset.
Yes, that is the relavent change. I've pulled it into the egcs-1.1 branch.
jeff