🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.transputer
1 messages
1 total messages Started by Frederic DESPOIX Fri, 28 Jul 1989 14:02
3L C compiler bug
#171
Author: Frederic DESPOIX
Date: Fri, 28 Jul 1989 14:02
47 lines
1883 bytes
Hear this one : i found a new way to feed your PC hard disk to the back teeth.

Get 3L C compiler and a B004 T414 transputer card with its PC (or vice versa).
Type this little program:

	typedef union {
		int f_int;
	} u_param_evt;

	typedef struct {
		u_param_evt f_p1, f_p2;
	} s_tab_evt;

	s_tab_evt dummy[5][18][10];

compile typing t4c prg.c, go and drink a coffee.
After a time that seems to me proportionnal to the hard disk free space
(logical, isn't it), there won't be any room left !

More seriously :
	I tried different u_param_evt, size from 1 to 4 bytes (not more)
		without success.
	With f_p1 and f_p2 integers, it compiles ok.
	With two dimention array, it works.
	It seems it is the mixing three dimention array with complex struct
	element that mixed everything up.
	But it is sometimes hard to do without when building the kernel of
	an operating system.

The manual did not say anything about that bug and the Data Representation
section did not help in any way.
Did anyone bumped into the same problem ?


						Frederic DESPOIX.


PS : with the hope this also reaches UK sites !!!

___________________________________________________________________________
 DESPOIX Frederic,				despoix@imag.imag.fr
 Laboratoire de Genie Informatique		despoix@imag
 Domaire Universitaire				uunet.uu.net!imag!despoix
 Bat Maths pures, 031
 B.P. 53x
 38401 SAINT MARTIN D'HERES CEDEX
 France
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads