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

            Bug ID: 127142
           Summary: In function ‘trdos_insert_boot_loader’: error: unable
                    to find a register to spill
           Product: gcc
           Version: 16.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 65453
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65453&action=edit
Preprocessed source.

gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0
-I/usr/lib/hppa-linux-gnu/
glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0
-I/usr
/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo
-I/usr/inc
lude/gdk-pixbuf-2.0 -I/usr/include/hppa-linux-gnu -I/usr/include/webp
-I/usr/inc
lude/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0
-I/usr/inc
lude/dbus-1.0 -I/usr/lib/hppa-linux-gnu/dbus-1.0/include -I/usr/include/fribidi
-I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2
-I/usr/
include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0
-I/usr/lib/
hppa-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid
-I/
usr/include/sysprof-6 -pthread  -I/usr/include/libxml2
-DFUSEDATADIR="\"/usr/sha
re/fuse\"" -I/usr/include/libpng16  -I/usr/include/SDL2 -D_GNU_SOURCE=1
-D_REENT
RANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time
-D_F
ORTIFY_SOURCE=2 -DNDEBUG -DG_DISABLE_CAST_CHECKS -I/usr/include
-DGLIB_DISABLE_D
EPRECATION_WARNINGS -DGDK_DISABLE_DEPRECATION_WARNINGS -Wall -Wwrite-strings
-pt
hread -g -O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/home/dave/
debian/fuse-emulator/fuse-emulator-1.9.2+dfsg=. -Wformat
-Werror=format-security
 -c -o peripherals/disk/disk.o ../peripherals/disk/disk.c
../peripherals/disk/disk.c: In function ‘trdos_insert_boot_loader’:
../peripherals/disk/disk.c:1418:1: error: unable to find a register to spill
 1418 | }
      | ^
../peripherals/disk/disk.c:1418:1: error: this is the insn:
(insn 1406 1410 489 17 (set (reg/f:SI 735)
        (reg/f:SI 864))
"/usr/include/hppa-linux-gnu/bits/string_fortified.h":29:10 discrim 32769 42
{*pa.md:2195}
     (expr_list:REG_DEAD (reg/f:SI 864)
        (nil)))
../peripherals/disk/disk.c:1418: confused by earlier errors, bailing out

Compilation command:
 /usr/libexec/gcc/hppa-linux-gnu/16/cc1 -fpreprocessed peripherals/disk/disk.i
-quiet -dumpdir peripherals/disk/ -dumpbase disk.c -dumpbase-ext .c -g -O2
-Wdate-time -Wall -Wwrite-strings -Werror=implicit-function-declaration
-Wformat=1 -Werror=format-security -version
-ffile-prefix-map=/home/dave/debian/fuse-emulator/fuse-emulator-1.9.2+dfsg=. -o
peripherals/disk/disk.s

Compiles okay at -O1.

Reply via email to