[Bug middle-end/96192] tree-inline.c(copy_decl_for_dup_finish) should preserve decl alignment in copy
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 14 07:04:53 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96192
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-07-14
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Hmm, but there's no local variable to copy here? Are you refering to the
result decl from b we materialize in c? This would be the same case
as for example switch conversion adding a 'long long' variable, so the
issue would be more wide-spread as you think - for example IPA SRA might
choose to pass an aggregate by its components thus with an aggregate with
two long long members you should see similar issues.
More information about the Gcc-bugs
mailing list