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

            Bug ID: 84332
           Summary: -fstack-clash-protectionICE in insn_default_length, at
                    config/s390/s390.md:9697 for
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: law at gcc dot gnu.org, segher at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-unknown-linux-gnu
            Target: s390x-unknown-linux-gnu

Following ICEs:

$ cat ice.i

struct b
{
  char a[65536];
};

void c (void) { struct b d; }

$ gcc ice.i -c -fstack-clash-protection --param
stack-clash-protection-probe-interval=16
ice.i: In function ā€˜cā€™:
ice.i:6:24: error: unrecognizable insn:
 void c (void) { struct b d; }
                        ^
(insn 13 12 14 (set (reg:CCZ 33 %cc)
        (compare:CCZ (reg:DI 0 %r0)
            (mem/v:DI (plus:DI (reg/f:DI 15 %r15)
                    (const_int 65528 [0xfff8])) [0  S8 A8]))) "ice.i":6 -1
     (nil))
during RTL pass: mach
ice.i:6:24: internal compiler error: in insn_default_length, at
config/s390/s390.md:9697
0x5540a4 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        .././../gcc/rtl-error.c:108
0x5540c3 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        .././../gcc/rtl-error.c:116
0x1051a80 insn_default_length(rtx_insn*)
        .././../gcc/config/s390/s390.md:9697
0x821449 shorten_branches(rtx_insn*)
        .././../gcc/final.c:1190
0xee36ff s390_mainpool_finish
        .././../gcc/config/s390/s390.c:9063
0xee36ff s390_reorg
        .././../gcc/config/s390/s390.c:14624
0xaed059 execute
        .././../gcc/reorg.c:3953

Reply via email to