https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109753
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu.org --- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Xi Ruoyao from comment #8) > In local-fnsummary2: > > __attribute__((always_inline, target ("avx2"))) > void aa::aa (struct aa * const this) > { > <bb 2> [local count: 1073741824]: > return; > > } > > this seems correct. But: > > void __static_initialization_and_destruction_0 () > { > <bb 2> : > aa::aa (&_M_impl); > return; > > } > > Note that __static_initialization_and_destruction_0 is not attributed with > avx2. I think that's correct. Maybe we need multiple CTOR/DTOR functions in such case.