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

            Bug ID: 126081
           Summary: or1k: ICE when compiling busybox nc_bloaty.c after
                    16.1.0
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: shorne at gcc dot gnu.org
  Target Milestone: ---

After generating the new toolchains for openrisc using GCC 16.1.0 I found an
ICE when compiling busybox.

make ARCH=openrisc CROSS_COMPILE=or1k-none-linux-musl- V=2                     
            In file included from networking/nc.c:59:                          
                                                                         
networking/nc_bloaty.c: In function ‘nc_main’:                                 
                                                             
networking/nc_bloaty.c:922:1: error: insn does not satisfy its constraints:    
                                                                922 | }        
                                                                               
                                                  | ^                          
                                                                               
                          (insn 867 609 869 25 (set (reg:SI 34 ?sr_f)
        (reg:SI 17 r19 [375])) "networking/nc_bloaty.c":833:4 discrim 1 28
{*movsi_internal}
     (nil))
during RTL pass: postreload
networking/nc_bloaty.c:922:1: internal compiler error: in
extract_constrain_insn, at recog.cc:2793


The toolchain builds are here:
https://github.com/stffrdhrn/or1k-toolchain-build/releases#release-or1k-16.1.0-20260614

Reply via email to