Matthias Klose wrote: > On 10/14/25 16:35, Yavor Doganov wrote: > > Forwarded: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121624
> please recheck with the latest Debian stable release, using GCC 14 as > the default, also Debian unstable defaulting to GCC 15. There also is > the gcc-snapshot package holding a snapshot from the trunk. Already done; I'm reporting against the bookworm version since this is the oldest supported release. This bug is present since "the beginning". > I assume, we will need a reproducer to report that upstream. It's already reported upstream, see the PR above. There are four reproducers that are part of the patch proposed for the frontend [1]: pr121624-1.m: Exhibits the bug for methods returning float. pr121624-2.m: Exhibits the bug for methods returning a "simple" struct. pr121624-3.m: Exhibits the bug for methods returning a "complex" struct. pr121624-4.m: Tests the evaluation order. 1, 2, 3 fail with all GCC versions (including gcc-snapshot) and -4 fails on amd64 and i386. They all pass with the patch applied (see the list of tested targets in the patch header). [1] https://gcc.gnu.org/bugzilla/attachment.cgi?id=62434

