[cfe-dev] Clang error

Gonsolo gonsolo at gmail.com
Wed Mar 3 08:57:14 PST 2010


I added a reduced testcase in bug 6475.

int main()
{
	int i;

	// Compiled by gcc and clang
	//__asm__ ( "nop": "=r"( i )  );

	// Compiled by gcc but clang fails due to signal 11
	__asm__ ( "nop": "=m"( i )  );

	return 0;
}


Regards,

g



More information about the cfe-dev mailing list