[llvmlinux] [PATCH] [RFC] [X86] Fix a compilation issue with clang.

H. Peter Anvin hpa at zytor.com
Thu Aug 29 17:28:52 UTC 2013


On 08/29/2013 10:13 AM, dl9pf at gmx.de wrote:
> From: Jan-Simon Möller <dl9pf at gmx.de>
> 
> Clang does not support the "shortcut" we're taking here for gcc (see below).

Read: clang is gratuitously incompatible with gcc.

> The patch extends and uses the macro _ASM_DX to do the job.

You just changed the sematics of the _ASM_* macros... that doesn't seem
like a great idea.  It's probably okay for the registers, but still...

	-hpa



More information about the LLVMLinux mailing list