https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68378
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.org --- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Dunno what to do here though, undoing all DECL_ALIGN changes performed > during compute_inline_parameters (but then for vars that are not going to be > NRV optimized this would be an pessimization), or say undo DECL_ALIGN > changes for vars that could be NRV optimized (appear in a return stmt, > perhaps something more specific)? Couldn't the NRV pass be moved up in the pipeline? The Ada front-end (gigi) also has its own NRV pass because the GIMPLE pass is quite ineffective.