[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Thu Nov 18 23:59:58 CET 2010


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	10/11/18 23:59:58

Modified files:
	cm3/m3-sys/m3cc/gcc/gcc/m3cg/: parse.c 

Log message:
	fix types to memcmp, memcpy, memmove, memset, shift
	honor overlap flag in copy
	use memcpy/memmove for copy instead of making up a new type
	of the desired size and copying it
	
	specifically:
	int32 memcmp(addr, addr, size_t)
	memcpy(addr, addr, size_t)
	memset(addr, int32, size_t)
	NOT ptdiff_t memcmp(addr, addr, ptdiff_t)
	NOT m3mcpy(addr, addr, ptdiff_t)
	NOT memset(addr, ptrdiff_t, ptdiff_t)
	
	always shift unsigned and then convert back to desired type
	This should fix some of the configure enable-checking errors.
	
	make the parameter rearrangement in copy_n clearer




More information about the M3commit mailing list