https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70375
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |57533 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Related to bug 57533 and most likely the real cause. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57533 [Bug 57533] When throwing local variable, it's being move-constructed even if not going out of scope.