inline asm and multi-alternative constraints

David Wohlferd dw@LimeGreenSocks.com
Mon Oct 26 03:41:00 GMT 2015


Does gcc's inline asm support multi-alternative constraints?  Or are 
they only supported for md?

The fact that it is doc'ed with the other constraints 
(https://gcc.gnu.org/onlinedocs/gcc/Constraints.html) says it works for 
inline.  But https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10396#c17 says 
it only works for md.

I've got a patch ready to remove this section from the non-md docs 
(attached).  But there probably needs to be more support than a 11 year 
old comment to approve it.

Dropping a supported feature is always controversial.  But if it doesn't 
work, perhaps less so.  After all, doc'ing something that doesn't work 
is just as bad.

dw

PS If it *is* supported, then the docs need some work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ma.patch
Type: text/x-patch
Size: 1490 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20151026/a16fdb9f/attachment.bin>


More information about the Gcc mailing list