https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101373
--- Comment #9 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Or maybe I misunderstood your request and you wanted an Ada testcase where the hoisting would still happen despite the fix for C++?