[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] Problem loading modules



>>>>> "David" == David Schleef <ds@stm.lbl.gov> writes:

 David> On Tue, Feb 22, 2000 at 12:51:11PM +0000, Stuart Hughes wrote:
 >>  Note also the following compiler feature:
 >> 
 >> If have in your RT code:
 >> 
 >> char buf[12] = "mystring";
 >> 
 >> You get an error, due to an implicit call to memset.


 David> Nope.  gcc-2.7.2.3 outputs assembly instructions that perform
 David> the memcpy, even with very long strings.

Note that's an x86 specific statement.  Other platforms may have
different properties.

	paul