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

            Bug ID: 97863
           Summary: ICE in ix86_expand_split_stack_prologue, at
                    config/i386/i386.c:9796
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

Affects versions down to at least r5 :


$ cat z1.c
void bar (char *);

void
foo (void)
{
  char c[4294967296];
  bar (c);
}


$ gcc-11-20201115 -c z1.c -mcmodel=large -fsplit-stack
during RTL pass: pro_and_epilogue
z1.c: In function 'foo':
z1.c:8:1: internal compiler error: in ix86_expand_split_stack_prologue, at
config/i386/i386.c:9796
    8 | }
      | ^
0xe2cff7 ix86_expand_split_stack_prologue()
        ../../gcc/config/i386/i386.c:9796
0x118e7ba gen_split_stack_prologue()
        ../../gcc/config/i386/i386.md:13939
0xe1a518 target_gen_split_stack_prologue
        ../../gcc/config/i386/i386.md:13694
0x89e3ad make_split_prologue_seq
        ../../gcc/function.c:5775
0x89e5da thread_prologue_and_epilogue_insns()
        ../../gcc/function.c:6008
0x89eba2 rest_of_handle_thread_prologue_and_epilogue
        ../../gcc/function.c:6500
0x89eba2 execute
        ../../gcc/function.c:6576

Reply via email to