public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/113139] New: [14 regression] ICE when building Binutils
@ 2023-12-25 19:18 sjames at gcc dot gnu.org
2023-12-25 19:32 ` [Bug tree-optimization/113139] " sjames at gcc dot gnu.org
2023-12-26 14:06 ` tnfchris at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-12-25 19:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113139
Bug ID: 113139
Summary: [14 regression] ICE when building Binutils
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: sjames at gcc dot gnu.org
CC: tnfchris at gcc dot gnu.org
Target Milestone: ---
Created attachment 56938
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56938&action=edit
atof-ieee.i
```
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I/var/tmp/portage/sys-devel/binutils-2.41-r3/work/binutils-2.41/gas -I.
-I/var/tmp/portage/sys-devel/binutils-2.41-r3/work/binutils-2.41/gas -I../bfd
-I/var/tmp/portage/sys-devel/binutils-2.41-r3/work/binutils-2.41/gas/config
-I/var/tmp/portage/sys-devel/binutils-2.41-r3/work/binutils-2.41/gas/../include
-I/var/tmp/portage/sys-devel/binutils-2.41-r3/work/binutils-2.41/gas/..
-I/var/tmp/portage/sys-devel/binutils-2.41-r3/work/binutils-2.41/gas/../bfd
-DLOCALEDIR="\"/usr/share/binutils-data/x86_64-pc-linux-gnu/2.41/locale\"" -W
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144
-Wwrite-strings -O3 -pipe -march=native -fdiagnostics-color=always -Waddress
-Warray-bounds -Wfree-nonheap-object -Wint-to-pointer-cast -Wmain -Wnonnull
-Wodr -Wreturn-type -Wsizeof-pointer-memaccess -Wstrict-aliasing
-Wstring-compare -Wuninitialized -Wvarargs -c -o config/atof-ieee.o
/var/tmp/portage/sys-devel/binutils-2.41-r3/work/binutils-2.41/gas/config/atof-ieee.c
/var/tmp/portage/sys-devel/binutils-2.41-r3/work/binutils-2.41/gas/config/atof-ieee.c:
In function ‘gen_to_words’:
/var/tmp/portage/sys-devel/binutils-2.41-r3/work/binutils-2.41/gas/config/atof-ieee.c:295:1:
error: multiple virtual PHI nodes in BB 144
295 | gen_to_words (LITTLENUM_TYPE *words, int precision, long exponent_bits)
| ^~~~~~~~~~~~
.MEM_18 = PHI <.MEM_526(93)>
.MEM_551 = PHI <.MEM_396(93)>
/var/tmp/portage/sys-devel/binutils-2.41-r3/work/binutils-2.41/gas/config/atof-ieee.c:295:1:
error: PHI node with wrong VUSE on edge from BB 144
.MEM_15 = PHI <.MEM_551(144), .MEM_552(149)>
expected .MEM_18
/var/tmp/portage/sys-devel/binutils-2.41-r3/work/binutils-2.41/gas/config/atof-ieee.c:295:1:
error: PHI node with wrong VUSE on edge from BB 94
.MEM_552 = PHI <.MEM_396(94)>
expected .MEM_526
during GIMPLE pass: vect
/var/tmp/portage/sys-devel/binutils-2.41-r3/work/binutils-2.41/gas/config/atof-ieee.c:295:1:
internal compiler error: verify_ssa failed
0x565350c1da88 verify_ssa(bool, bool)
/usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/tree-ssa.cc:1203
0x56535081fa9d execute_function_todo
/usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/passes.cc:2095
0x56535081ff30 execute_todo
/usr/src/debug/sys-devel/gcc-14.0.0.9999/gcc-14.0.0.9999/gcc/passes.cc:2142
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
make[2]: *** [Makefile:1443: config/atof-ieee.o] Error 1
make[2]: Leaving directory
'/var/tmp/portage/sys-devel/binutils-2.41-r3/work/build/gas'
make[1]: *** [Makefile:1663: all-recursive] Error 1
make[1]: Leaving directory
'/var/tmp/portage/sys-devel/binutils-2.41-r3/work/build/gas'
make: *** [Makefile:1009: all] Error 2
```
```
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/14/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-14.0.0.9999/work/gcc-14.0.0.9999/configure
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/14
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/14/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/x86_64-pc-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,df
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 14.0.0 p,
commit 2250dc0cc8c46999ad1c1d79b9aeed9056459bb6' --with-gcc-major-version-only
--enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point
--enable-targets=all --enable-libgomp --disable-libssp --disable-libada
--disable-cet --disable-systemtap --disable-valgrind-annotations
--disable-vtable-verify --disable-libvtv --with-zstd --without-isl
--enable-default-pie --enable-host-pie --disable-host-bind-now
--enable-default-ssp
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.0 20231225 (experimental)
0beeddd6b1b1cb41104c4df925323e8fc0437ba8 (Gentoo 14.0.0 p, commit
2250dc0cc8c46999ad1c1d79b9aeed9056459bb6)
```
'gcc -c atof-ieee.i -O3 -march=znver2' is enough to reproduce.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/113139] [14 regression] ICE when building Binutils
2023-12-25 19:18 [Bug tree-optimization/113139] New: [14 regression] ICE when building Binutils sjames at gcc dot gnu.org
@ 2023-12-25 19:32 ` sjames at gcc dot gnu.org
2023-12-26 14:06 ` tnfchris at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-12-25 19:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113139
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 56939
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56939&action=edit
reduced.i
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/113139] [14 regression] ICE when building Binutils
2023-12-25 19:18 [Bug tree-optimization/113139] New: [14 regression] ICE when building Binutils sjames at gcc dot gnu.org
2023-12-25 19:32 ` [Bug tree-optimization/113139] " sjames at gcc dot gnu.org
@ 2023-12-26 14:06 ` tnfchris at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2023-12-26 14:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113139
Tamar Christina <tnfchris at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
dup
*** This bug has been marked as a duplicate of bug 113137 ***
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-26 14:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-25 19:18 [Bug tree-optimization/113139] New: [14 regression] ICE when building Binutils sjames at gcc dot gnu.org
2023-12-25 19:32 ` [Bug tree-optimization/113139] " sjames at gcc dot gnu.org
2023-12-26 14:06 ` tnfchris at gcc dot gnu.org
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).