[8528] in Athena Bugs

home help back first fref pref prev next nref lref last post

xlc bug

daemon@ATHENA.MIT.EDU (John Carr)
Sun Nov 3 22:57:40 1991

To: probe@Athena.MIT.EDU
Cc: bugs@Athena.MIT.EDU
Date: Sun, 03 Nov 91 22:57:39 EST
From: John Carr <jfc@Athena.MIT.EDU>


xlc prints the wrong error message when an operand to "&&" is void.

	% cat /tmp/test.c
	extern void f();
	g(x){return x && f();}
	% xlc -c /tmp/test.c
	        2 | g(x){return x && f();}
	            .................a....
	a - 1506-015: (S) Struct/union is not permitted for logical and/or.


home help back first fref pref prev next nref lref last post