https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101995
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=120214 --- Comment #20 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #19) > (In reply to Andrew Pinski from comment #17) > > This is a different issue where the C++ front-end does not add a fnspec for > > the constructor (and deconstructor) with `targetm.cxx.cdtor_returns_this ()` > > returning true. I will file this a sperate issue. > > Filed as PR 119699 . Also file PR 120214 for another related issue for stack address vs REG_RETURNED; I have not looked into fix that one though which is required to the testcase in comment #16.