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

            Bug ID: 126202
           Summary: ICE in ix86_finalize_stack_frame_flags, at
                    config/i386/i386.cc:8829
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: manuel.lauss at googlemail dot com
  Target Milestone: ---

Created attachment 64991
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64991&action=edit
testcase

gcc version 17.0.0 20260710 (experimental)
1f949c2f1ab60a8b3e3d99faff337a921150d2f4

$ g++-17 -O3 -march=znver5 -c testcase.i
during RTL pass: pro_and_epilogue
testcase.i: In function 'void
TFE_Jedi::RClassic_Fixed::robj3d_setupPolygon(JmPolygon*)':
testcase.i:78:1: internal compiler error: in ix86_finalize_stack_frame_flags,
at config/i386/i386.cc:8829
   78 | }
      | ^
0x7f5394b37ea6 __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:59
0x7f5394b37fc6 __libc_start_main_impl
        ../csu/libc-start.c:360
/usr/libexec/gcc/x86_64-pc-linux-gnu/17/cc1plus -fpreprocessed testcase.i
-quiet -dumpbase testcase.i -dumpbase-ext .i -march=znver5 -mtls-dialect=gnu2
-O3 -o /tmp/.private/mano/ccE0JBjB.s


Seems to be AVX512-related: no ICE with "-mno-avx512f" or znver3. Fine on
gcc15/16.

Reply via email to