https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86673
--- Comment #16 from Alexander Monakov <amonakov at gcc dot gnu.org> --- > I don't see what should we warn about. I think the suggestion was to warn when a register const variable appears in constraints, because the asm is not then guaranteed to receive that operand in that register, contrary to user's expectations? So basically warn about this non-intuitive aspect of local reg vars so the places where the code makes a wrong assumption can be identified and fixed.