> This warning should be straight-forward to implement: just add an 'isused'
> bit on AsmLabelAttr and set it in AddVariableConstraits.
>
> Rafael, could you tackle this if you get a chance?
I have some other issues I have to look at first, but I reported 8881 to
track it.
> Also, please add a doxygen comment to AddVariableConstraits and
s/Constraits/Constraints/.
Done.
> One other question, what valid code does this ErrorUnsupported reject?
> Should it just be a normal error?
>
> + if (!Target.isValidGCCRegisterName(Register)) {
> + CGM.ErrorUnsupported(Variable, "__asm__");
> + return Constraint;
> + }
Done.
> Thanks!
>
> -Chris
Cheers,
Rafael
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits