https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118936
Bug ID: 118936 Summary: ICE in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: 19373742 at buaa dot edu.cn Target Milestone: --- Created attachment 60530 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60530&action=edit The preprocessed file ******************************************************************************* OS and Platform: Ubuntu 20.04.4 LTS ******************************************************************************* GCC Release: Using built-in specs. COLLECT_GCC=./gcc-releases/bin/gcc COLLECT_LTO_WRAPPER=/home/gcc-releases/libexec/gcc/x86_64-pc-linux-gnu/15.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ./configure --prefix=/home/gcc-releases/ --disable-multilib --enable-languages=c,c++ Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.1 20250216 (experimental) (GCC) ******************************************************************************* Command Lines: # gcc -O3 -fno-omit-frame-pointer -fno-toplevel-reorder a.c ******************************************************************************* during RTL pass: pro_and_epilogue a.c: In function ‘func_40’: a.c:1109:1: internal compiler error: in ix86_finalize_stack_frame_flags, at config/i386/i386.cc:8683 1109 | } | ^ 0x25e720f internal_error(char const*, ...) ../.././gcc/diagnostic-global-context.cc:517 0xa202b5 fancy_abort(char const*, int, char const*) ../.././gcc/diagnostic.cc:1722 0x94c387 ix86_finalize_stack_frame_flags ../.././gcc/config/i386/i386.cc:8683 0x15a6480 ix86_expand_epilogue(int) ../.././gcc/config/i386/i386.cc:9984 0x1e0d0af gen_epilogue() ../.././gcc/config/i386/i386.md:20813 0x158edd5 target_gen_epilogue ../.././gcc/config/i386/i386.md:20311 0xd918a6 make_epilogue_seq ../.././gcc/function.cc:6029 0xd9199b thread_prologue_and_epilogue_insns() ../.././gcc/function.cc:6111 0xd92142 rest_of_handle_thread_prologue_and_epilogue ../.././gcc/function.cc:6627 0xd92142 execute ../.././gcc/function.cc:6713 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.