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

            Bug ID: 121065
           Summary: ice in optab_for_tree_code, at optabs-tree.cc:85
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For this C code:

_Accum sa;
char c;
void div_csa() { c /= sa; }

on raspberry pi 5, does this:

$ for i in ~/gcc/results.202507*/bin/gcc; do echo $i; $i -c -w bug1109.c; done
/home/dcb/gcc/results.20250702/bin/gcc
/home/dcb/gcc/results.20250710/bin/gcc
/home/dcb/gcc/results.20250713/bin/gcc
during RTL pass: expand
bug1109.c: In function ‘div_csa’:
bug1109.c:3:20: internal compiler error: in optab_for_tree_code, at
optabs-tree.
cc:85
    3 | void div_csa() { c /= sa; }
      |                    ^~

The code breaks sometime between g:e3d1b3cce8766303
and g:598455fd73b2061e

Reply via email to