[M3commit] CVS Update: cm3

Jay Krell jkrell at elego.de
Sun Jun 8 11:58:42 CEST 2008


CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	08/06/08 11:58:42

Modified files:
	cm3/m3-sys/m3tests/src/: m3makefile 
Added files:
	cm3/m3-sys/m3tests/src/p2/p211/: A.i3 A.m3 C.c m3makefile 
	                                 stderr.pgm stdout.pgm 

Log message:
	add test case that checks that float and double constants are
	written and read correctly by the compiler, so that the code can be
	fixed to work correctly a) on systems where long holds more than 32 bits
	b) on systems where long requires a larger alignment than double
	e.g. OpenBSD/sparc64
	The code passes floats and doubles along with "matching" strings from
	Modula-3 to C and the C code checks that things match up.
	Notice that Modula-3 turns "-0" into the same as "0", but C does not.
	That test case is therefore skipped.




More information about the M3commit mailing list