[Bug c/122311] ICE with extern inline nested function defined and used within statement expression

foss+gcc@alejandro-colomar.es gcc-bugzilla@gcc.gnu.org
Fri Oct 17 12:32:06 GMT 2025


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

--- Comment #1 from Alejandro Colomar <foss+gcc@alejandro-colomar.es> ---
$ /opt/local/gnu/gcc/maxof/bin/gcc --version
gcc (GCC) 16.0.0 20251012 (experimental)
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


I can reproduce it with several builds I have around (one of them from last
year, and this one from a week ago), which I only edited slightly compared to
trunk, and in ways unrelated to this.  This should be reproducible with trunk.


More information about the Gcc-bugs mailing list