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

--- Comment #4 from m.cencora at gmail dot com ---
(In reply to Andrew Pinski from comment #3)
> I am 99% sure this is the same issue as pr98995 even though this is a crash.
> The ice is the same as PR  93711.
> 
> This code has both an abi issue against it filed and a c++ defect report
> filed against it.

I think this is a separate issue.

Here the 'NonTrivial' class is copyable, so even if compiler cannot perform
copy ellision (due to ABI or etc), it should be able to initialize the base
object.

Reply via email to