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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I don't understand why GCC *doesn't* fail without the fix above, when that code
clearly gets used during constant evaluation and the runtime version of that
function *does* access objects outside their lifetime (the *__first = __tmp
expression shown in the Clang output).

And I don't understand why GCC *does* fail in __relocate_object, which looks
correct to me (and Clang happily compiles).

Reply via email to