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

            Bug ID: 108638
           Summary: Another ice in decompose, at wide-int.h:984
           Product: gcc
           Version: 13.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:

long orte_pre_condition_transports_print_j;
int orte_pre_condition_transports_print_int_ptr_0;
orte_pre_condition_transports_print() {
  for (;;)
    if (orte_pre_condition_transports_print_int_ptr_0)
      for (; orte_pre_condition_transports_print_j < sizeof(int);)
        orte_pre_condition_transports_print_int_ptr_0 |=
            orte_pre_condition_transports_print_j
            << orte_pre_condition_transports_print_j;
}

compiled by recent gcc, does this:

$ /home/dcb36/gcc/results/bin/gcc -c -w -O1 bug879.c 2>&1 | fgrep "internal c"
bug879.c:3:1: internal compiler error: in decompose, at wide-int.h:984
$ 

This was ok at g:da3aca031be736fe, dated 20230129, but not ok at
g:77906341efc5cb69, dated  20230131.

Reply via email to