https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98110
--- Comment #9 from Florian Weimer <fw at gcc dot gnu.org> --- And we should not end up in the add_dependency part, either because l_type won't be lt_loaded and the DL_LOOKUP_ADD_DEPENDENCY flag hasn't been set, either. The inline asm is marked as volatile, and that should prevent it from being moved across these checks.