https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #152 from Kazumoto Kojima <kkojima at gcc dot gnu.org> --- (In reply to Oleg Endo from comment #140) > Created attachment 58860 [details] > testcase for attachment 58831 [details], 58832, 58833, 58836 > > The attached test case, when compiled with 'sh-elf-gcc -O2 -m4-single -mlra' > on current development branch (GCC 15) fails with the following ICE: I have yet to reproduce the failure. /home/kkojima/Take3/shelf-gcc/gcc/g++-cross -B/home/kkojima/Take3/shelf-gcc/gcc -c -O2 -mlra -m4-single genmenu.ii genmenu.cpp:57660:2: error: expected '}' at end of input genmenu.cpp:40566:1: note: to match this '{' Maybe something is wrong with my sh-elf gcc build or some file truncation problem. FYI, it compiles successfully when adding '}' at the end of genmenu.ii.