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

            Bug ID: 122940
           Summary: [16 Regression] loongarch: infinite recursion in
                    gimple_ranger::range_of_expr
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xen0n at gentoo dot org
                CC: chenglulu at loongson dot cn, xry111 at gcc dot gnu.org
  Target Milestone: ---
            Target: loongarch64-*-*

Created attachment 62958
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62958&action=edit
Minimized reproducer

Found during routine system update emerging app-editors/vim-core-9.1.1652-r2 on
Gentoo; reproduced with GCC trunk.

Steps to reproduce: cc1 -O2 -o /dev/null spellsuggest.c

The infinite recursion only happens in the loongarch port, but is not related
to host -- I've reproduced the crash on loongarch64 and x86_64 hosts.

Reply via email to