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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.9.4                       |---
            Summary|FD_ZERO macro parsing error |asm in toplevel lambda
                   |in lambda function.         |function rejected
           Severity|major                       |normal

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
auto test = []{ __asm__ __volatile__ ("" : : "r" (0) ); };

Looks like the C++ front-end is parsing the inline-asm as a toplevel inline-asm
and rejecting extended inline-asm.

Reply via email to