[Bug target/92038] Extremely inefficient x86_64 code for trivally copyable types passed in registers.

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 10 09:38:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92038

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
struct S { int a; char b; char c[3]; S () : a (0), b (0) {} };
void foo (struct S);
void bar (void) { struct S s; foo (s); }


More information about the Gcc-bugs mailing list