public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "sjames at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/112617] New: [14 regression] ICE when building systemd on HPPA (internal compiler error: in find_reloads, at reload.cc:3839)
Date: Sun, 19 Nov 2023 08:55:36 +0000	[thread overview]
Message-ID: <bug-112617-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 112617
           Summary: [14 regression] ICE when building systemd on HPPA
                    (internal compiler error: in find_reloads, at
                    reload.cc:3839)
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
                CC: danglin at gcc dot gnu.org
  Target Milestone: ---

Created attachment 56638
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56638&action=edit
btrfs-util.c.i

```
FAILED: src/shared/libsystemd-shared-254.a.p/btrfs-util.c.o
hppa2.0-unknown-linux-gnu-gcc -Isrc/shared/libsystemd-shared-254.a.p
-Isrc/shared -I../systemd-stable-254.6/src/shared -Isrc/basic
-I../systemd-stable-254.6/src/basic -Isrc/fundamental
-I../systemd-stable-254.6/src/fundamental -Isrc/systemd
-I../systemd-stable-254.6/src/systemd -I. -I../systemd-stable-254.6
-I../systemd-stable-254.6/src/libsystemd/sd-bus
-I../systemd-stable-254.6/src/libsystemd/sd-device
-I../systemd-stable-254.6/src/libsystemd/sd-event
-I../systemd-stable-254.6/src/libsystemd/sd-hwdb
-I../systemd-stable-254.6/src/libsystemd/sd-id128
-I../systemd-stable-254.6/src/libsystemd/sd-journal
-I../systemd-stable-254.6/src/libsystemd/sd-netlink
-I../systemd-stable-254.6/src/libsystemd/sd-network
-I../systemd-stable-254.6/src/libsystemd/sd-resolve -I/usr/include/blkid
-I/usr/include/libmount -I/usr/include/security -fdiagnostics-color=always
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11
-Wno-missing-field-initializers -Wno-unused-parameter -Warray-bounds
-Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2
-Werror=format-signedness -Werror=implicit-function-declaration
-Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion
-Werror=missing-declarations -Werror=missing-prototy
pes -Werror=overflow -Werror=override-init -Werror=return-type
-Werror=shift-count-overflow -Werror=shift-overflow=2
-Werror=strict-flex-arrays -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5
-Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn
-Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls
-Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn
-Wunused-function -Wwrite-strings -Wzero-length-bounds
-fdiagnostics-show-option -fno-common -fstack-protector
-fstack-protector-strong -fstrict-flex-arrays --param=ssp-buffer-size=4
-Wno-maybe-uninitialized -Wno-unused-result -Werror=shadow -O2 -pipe -march=2.0
-fdiagnostics-color=always -frecord-gcc-switches -fPIC -fno-strict-aliasing
-fstrict-flex-arrays=1 -fvisibility=hidden -ffunction-sections -fdata-sections
-fno-omit-frame-pointer -include config.h -pthread -fvisibility=default -MD -MQ
src/shared/libsystemd-shared-254.a.p/btrfs-util.c.o -MF
src/shared/libsystemd-shared-254.a.p/btrfs-util.c.o.d -o
src/shared/libsystemd-shared-254.a.p/btrfs-util.c.o -c
../systemd-stable-254.6/src/shared/btrfs-util.c
../systemd-stable-254.6/src/shared/btrfs-util.c: In function
‘subvol_snapshot_children’:
../systemd-stable-254.6/src/shared/btrfs-util.c:1526:1: error: unable to
generate reloads for:
 1526 | }
      | ^
(jump_insn 593 1256 594 59 (parallel [
            (set (pc)
                (if_then_else (ge (reg:SI 28 %r28 [649])
                        (const_int 0 [0]))
                    (label_ref 601)
                    (pc)))
            (set (reg/v:SI 148 [ old_child_fd ])
                (reg:SI 28 %r28 [649]))
        ]) "../systemd-stable-254.6/src/shared/btrfs-util.c":1460:28 234
{*pa.md:9555}
     (expr_list:REG_DEAD (reg:SI 28 %r28 [649])
        (int_list:REG_BR_PROB 1052266988 (nil)))
 -> 601)
during RTL pass: reload
../systemd-stable-254.6/src/shared/btrfs-util.c:1526:1: internal compiler
error: in find_reloads, at reload.cc:3839
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
See <https://bugs.gentoo.org/> for instructions.
```

```
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/hppa2.0-unknown-linux-gnu/14/lto-wrapper
Target: hppa2.0-unknown-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/configure
--host=hppa2.0-unknown-linux-gnu --build=hppa2.0-unknown-linux-gnu
--prefix=/usr --bindir=/usr/hppa2.0-unknown-linux-gnu/gcc-bin/14
--includedir=/usr/lib/gcc/hppa2.0-unknown-linux-gnu/14/include
--datadir=/usr/share/gcc-data/hppa2.0-unknown-linux-gnu/14
--mandir=/usr/share/gcc-data/hppa2.0-unknown-linux-gnu/14/man
--infodir=/usr/share/gcc-data/hppa2.0-unknown-linux-gnu/14/info
--with-gxx-include-dir=/usr/lib/gcc/hppa2.0-unknown-linux-gnu/14/include/g++-v14
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/hppa2.0-unknown-linux-gnu/14/python
--enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --enable-nls --without-included-gettext
--disable-libunwind-exceptions --enable-checking=yes,extra,rtl
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened
14.0.0 p, commit 35bb529f420ff5863fdae51049e6935ab927ff3d'
--with-gcc-major-version-only --enable-libstdcxx-time --enable-lto
--disable-libstdcxx-pch --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --disable-multilib
--disable-fixed-point --enable-libgomp --disable-libssp --disable-libada
--disable-cet --disable-systemtap --disable-valgrind-annotations
--disable-vtable-verify --disable-libvtv --without-zstd --without-isl
--disable-libsanitizer --enable-default-pie --enable-host-pie
--disable-host-bind-now --disable-default-ssp
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 14.0.0 20231118 (experimental)
841008d3966c0fe7a80ec10703a50fbdab7620ac (Gentoo Hardened 14.0.0 p, commit
35bb529f420ff5863fdae51049e6935ab927ff3d)
```

             reply	other threads:[~2023-11-19  8:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-19  8:55 sjames at gcc dot gnu.org [this message]
2023-11-19  8:58 ` [Bug target/112617] " sjames at gcc dot gnu.org
2023-11-19  9:10 ` sjames at gcc dot gnu.org
2023-11-19 10:17 ` sjames at gcc dot gnu.org
2023-11-19 17:32 ` danglin at gcc dot gnu.org
2023-11-20  9:56 ` rguenth at gcc dot gnu.org
2023-11-22 19:48 ` cvs-commit at gcc dot gnu.org
2023-11-22 20:28 ` danglin at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-112617-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).