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

            Bug ID: 94576
           Summary: Regression build newlib for Arm64
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trass3r at gmail dot com
  Target Milestone: ---

https://github.com/Trass3r/bleeding-edge-toolchain/runs/581839696

arm-none-eabi-gcc
-B/mnt/host/buildNative/newlib-3.1.0-nano/arm-none-eabi/thumb/v8.1-m.main+mve/hard/newlib/
-isystem
/mnt/host/buildNative/newlib-3.1.0-nano/arm-none-eabi/thumb/v8.1-m.main+mve/hard/newlib/targ-include
-isystem /mnt/host/sources/newlib-3.1.0/newlib/libc/include
-B/mnt/host/buildNative/newlib-3.1.0-nano/arm-none-eabi/thumb/v8.1-m.main+mve/hard/libgloss/arm
-L/mnt/host/buildNative/newlib-3.1.0-nano/arm-none-eabi/thumb/v8.1-m.main+mve/hard/libgloss/libnosys
-L/mnt/host/sources/newlib-3.1.0/libgloss/arm  -mthumb
-march=armv8.1-m.main+mve -mfloat-abi=hard -DPACKAGE_NAME=\"newlib\"
-DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"3.1.0\"
-DPACKAGE_STRING=\"newlib\ 3.1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
-I. -I/mnt/host/sources/newlib-3.1.0/newlib/libc/stdlib -fno-builtin
-D__NO_SYSCALLS__ -D_COMPILING_NEWLIB -DHAVE_INIT_FINI      -Os -pipe
-ffunction-sections -fdata-sections   -mthumb -march=armv8.1-m.main+mve
-mfloat-abi=hard -c -o lib_a-dtoa.o
/mnt/host/sources/newlib-3.1.0/newlib/libc/stdlib/dtoa.c

during RTL pass: reload
/mnt/host/sources/newlib-3.1.0/newlib/libc/stdlib/dtoa.c: In function
'_dtoa_r':
/mnt/host/sources/newlib-3.1.0/newlib/libc/stdlib/dtoa.c:858:1: internal
compiler error: maximum number of generated reload insns per insn achieved (90)
  858 | }
      | ^

Here's the function:
https://sourceware.org/git/?p=newlib-cygwin.git;a=blob;f=newlib/libc/stdlib/dtoa.c;h=c38f37afd014793a3e6604d94f7cf3a212fe1089;hb=572687310059534b2da9428ca19df992509c8a5d#l177

Last known working gcc version was from Apr 6, 2020, 3:55 PM GMT+2

Reply via email to