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

            Bug ID: 127031
           Summary: avr: stack smash in synth_mult for SImode multiply
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ptomsich at gcc dot gnu.org
  Target Milestone: ---

While characerising PR127028, we triggered the following:

  during RTL pass: expand
  plainmul.c:2:26: internal compiler error: Segmentation fault
  0x9e9214 synth_mult
          gcc/expmed.cc:2953

with the reproducer:

  typedef __UINT32_TYPE__ u32;
  u32 f (u32 x) { return x * 0xaaab; }

using 'avr-gcc -O2' (default avr2 core, no hardware MUL).

Reply via email to