[Bug c++/92223] Redundant pushing to stack when passing empty structs to function (x32)

2019-10-25 Thread lahav.sch.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92223 --- Comment #2 from Lahav Schlesinger --- (In reply to Jonathan Wakely from comment #1) > Are you talking about 32-bit x86 and 64-bit x86_64? > > Because "x32" means something completely different: > https://en.wikipedia.org/wiki/X32_ABI > > "x

[Bug c++/92223] New: Redundant pushing to stack when passing empty structs to function (x32)

2019-10-25 Thread lahav.sch.gcc at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lahav.sch.gcc at gmail dot com Target Milestone: --- Hi! I tested the following code in several version of GCC, including trunk. In the following code: struct Empty {}; void