https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96749
Max Kellermann <max at duempel dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |max at duempel dot org --- Comment #2 from Max Kellermann <max at duempel dot org> --- Created attachment 49681 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49681&action=edit Another variant of the bug I confirm this bug with "gcc version 10.2.0 (Debian 10.2.0-19)", and I have found another variant of it; in my sample source, using a "struct" return type triggers the warning, but built-in types do not.