http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49169

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu.se

--- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> 2011-05-26 
07:56:05 UTC ---
Try passing the function pointer through an opaque identity transform:

    asm("" : "=r"(p) : "0"(main));
    if ((uintptr_t)p & 1) /* do thumb case */

Reply via email to