This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/67283] GCC regression over inlining of returned structures
- From: "roche at httrack dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Aug 2015 17:17:49 +0000
- Subject: [Bug tree-optimization/67283] GCC regression over inlining of returned structures
- Auto-submitted: auto-generated
- References: <bug-67283-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67283
--- Comment #6 from Xavier Roche <roche at httrack dot com> ---
> the problem is that the structure contains an array an total scalarization is not implemented for them
I confirm that without any array the inlining is fine.
Side note: the same problem appears with an union (including union with only
one void* member).