https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89334

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amonakov at gcc dot gnu.org

--- Comment #7 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Isolated testcase for diagnostic enhancement (-O2 -m32, want error on line 6
rather than line 12):

static inline
void f(void)
{
    int si;
    asm("" : "=S"(si));
    asm("# %0" :: "r"((char)si));
}

void wrapper(void)
{
    f();
}

Reply via email to