[Bug tree-optimization/102452] Structs with flexible array members are not optimized on stack
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Thu Sep 23 07:21:18 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102452
--- Comment #6 from rguenther at suse dot de <rguenther at suse dot de> ---
On Thu, 23 Sep 2021, pinskia at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102452
>
> Andrew Pinski <pinskia at gcc dot gnu.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Severity|normal |enhancement
> Component|ipa |tree-optimization
>
> --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> Oh it is just esra (and SRA) rejecting the struct:
> Rejected (3268): zero structure field size: ret
>
> Rejected (3311): zero structure field size: ret
> Rejected (3309): zero structure field size: D.3309
>
> I had read the dump order incorrectly and such.
Yeah - not sure why exactly it execuses itself for !DECL_SIZE fields,
but well. Something to improve. (just ignore those fields)
More information about the Gcc-bugs
mailing list