[Bug rtl-optimization/82803] Wildly excessive calls to __tls_get_addr with optimizations enabled.

amonakov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Oct 13 10:59:00 GMT 2018


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

--- Comment #7 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Sorry, should have double-checked when commenting. I see RTL LIM simply
considers all calls non-invariant in check_maybe_invariant.

I wonder if it would make sense to represent tls abi calls as unspecs up to
some point like split_all_insns so they get cleaned up automatically like on
i386?


More information about the Gcc-bugs mailing list