[Bug inline-asm/90907] Binary crashes if both asm() and __thread are used in the same code

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 18 05:24:00 GMT 2019


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |inline-asm
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Toplevel inline-asm is in a specific section.  You need to push the new section
and change back to the original one.  In this case, the current section when
the inline-asm is used is the TLS section which is marked as not executable.


More information about the Gcc-bugs mailing list