[Bug middle-end/103648] Missed optimization on arm64 when returning an empty struct.

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 10 12:24:51 GMT 2021


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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
For C version we get:
Partition 0: size 1 align 8
        D.3600

Which is wrong. There is no reason for this struct to be on the stack ....


More information about the Gcc-bugs mailing list