Is it safe to use _Bool as asm statement outputs on x86?

H. Peter Anvin hpa@zytor.com
Tue Jun 2 23:46:00 GMT 2015


For the x86 backend explicitly, is doing something like:

	_Bool x;

	asm("blah ; setc %0" : "=qm" (x));

... guaranteed to be safe for older versions of gcc?

	-hpa



More information about the Gcc mailing list