[cfe-commits] [QUESTION]: asm constraints with commas

Eli Friedman eli.friedman at gmail.com
Wed Jul 7 15:13:12 PDT 2010

On Wed, Jul 7, 2010 at 2:24 PM, John Thompson
<john.thompson.jtsoftware at gmail.com> wrote:
> Regarding my incorrectly name bug report 7338, after looking at this in the
> debugger, the problem is the comma in "=&r,&r" (and probably by extension,
> the comma in "+m,m").
> Unfortunately, because I don't understand constraints much, and much less
> how they are handled in Clang, I don't know the correct fix for it.

See http://gcc.gnu.org/onlinedocs/gcc/Multi_002dAlternative.html#Multi_002dAlternative
.  We considered it too obscure to be worth implementing... and the
usage here makes no sense.  You can fix the source code it by just
deleting the comma and everything after it in each constraint.


More information about the cfe-commits mailing list