[Bug c++/67776] Using asm with non-static variable generates warning in C, but not in C++

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 28 15:56:00 GMT 2017


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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-09-28
                 CC|                            |egallager at gcc dot gnu.org
            Summary|No warning when using asm   |Using asm with non-static
                   |with non-static variable    |variable generates warning
                   |                            |in C, but not in C++
     Ever confirmed|0                           |1

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
Confirmed, retitling to focus on this being an inconsistency


More information about the Gcc-bugs mailing list