Sun C compiler bug fixed

John Gilmore gnu at sun.uucp
Fri Aug 9 11:23:53 AEST 1985


In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept said:
> Speaking of Sun C compiler bugs, how about
> 
> 	struct bug {
> 		struct { int field:4; } array[128];
> 	};
> 
> 	f()
> 	{
> 		register struct bug *p;
> 		register int i;
> 
> 		p->array[i].field;
> 	}

This seems to be fixed in the Sun Unix 2.0 release; I just tried it.



More information about the Comp.unix.wizards mailing list