public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/115009] New: [15 regression] AVR: ICE in alloc, at value-range-storage.cc:598
@ 2024-05-09 11:45 manuel.lauss at googlemail dot com
  2024-05-09 15:01 ` [Bug tree-optimization/115009] " pinskia at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: manuel.lauss at googlemail dot com @ 2024-05-09 11:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115009
           Summary: [15 regression] AVR: ICE in alloc, at
                    value-range-storage.cc:598
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: manuel.lauss at googlemail dot com
  Target Milestone: ---

Created attachment 58146
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58146&action=edit
unreduced testcase

Building avr-libc-2.1.0/avr/lib/avr2/strftime.c with latest gcc-15 snapshot:

avr-gcc -c strftime-avr.i -Os
during GIMPLE pass: evrp
../../../libc/time/strftime.c: In function ‘pgm_copystring’:
../../../libc/time/strftime.c:322:1: internal compiler error: in alloc, at
value-range-storage.cc:598
  322 | }
      | ^

-Os is essential to trigger it.

# gcc -v
Reading specs from /usr/lib/gcc/avr/15/device-specs/specs-avr2
COLLECT_GCC=avr-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/avr/15/lto-wrapper
Target: avr
Configured with:
/tmp-ram/portage/cross-avr/gcc-15.0.9999/work/gcc-15.0.9999/configure
--host=x86_64-pc-linux-gnu --target=avr --build=x86_64-pc-linux-gnu
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/avr/gcc-bin/15
--includedir=/usr/lib/gcc/avr/15/include --datadir=/usr/share/gcc-data/avr/15
--mandir=/usr/share/gcc-data/avr/15/man
--infodir=/usr/share/gcc-data/avr/15/info
--with-gxx-include-dir=/usr/lib/gcc/avr/15/include/g++-v15
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/avr/15/python --enable-languages=c
--enable-obsolete --enable-secureplt --disable-werror --with-system-zlib
--enable-nls --without-included-gettext --disable-libunwind-exceptions
--enable-checking=yes,extra --with-bugurl=https://bugs.gentoo.org/
--with-pkgversion='Gentoo 15.0.9999 p, commit
f525de00d17a460aebb382c0d34529ddc383fb9d' --with-gcc-major-version-only
--enable-lto --disable-libstdcxx-pch --enable-poison-system-directories
--enable-shared --disable-threads --disable-gcov --disable-bootstrap
--enable-multilib --disable-fixed-point --disable-libgomp --disable-libssp
--disable-libada --disable-systemtap --disable-valgrind-annotations
--disable-vtable-verify --disable-libvtv --with-zstd --without-isl
--disable-libsanitizer --disable-default-pie --enable-host-pie
--disable-host-bind-now --disable-default-ssp --disable-fixincludes
Thread model: single
Supported LTO compression algorithms: zlib zstd
gcc version 15.0.0 20240509 (experimental)
2790195500ec523cad9c7292816540e2fc19f456

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-05-10  7:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-09 11:45 [Bug c/115009] New: [15 regression] AVR: ICE in alloc, at value-range-storage.cc:598 manuel.lauss at googlemail dot com
2024-05-09 15:01 ` [Bug tree-optimization/115009] " pinskia at gcc dot gnu.org
2024-05-09 17:06 ` pinskia at gcc dot gnu.org
2024-05-09 17:14 ` pinskia at gcc dot gnu.org
2024-05-09 17:18 ` pinskia at gcc dot gnu.org
2024-05-09 20:07 ` pinskia at gcc dot gnu.org
2024-05-09 20:30 ` law at gcc dot gnu.org
2024-05-09 20:33 ` pinskia at gcc dot gnu.org
2024-05-09 20:36 ` pinskia at gcc dot gnu.org
2024-05-09 20:44 ` law at gcc dot gnu.org
2024-05-09 21:44 ` aldyh at gcc dot gnu.org
2024-05-09 21:46 ` aldyh at gcc dot gnu.org
2024-05-09 21:47 ` aldyh at gcc dot gnu.org
2024-05-09 21:52 ` pinskia at gcc dot gnu.org
2024-05-10  7:01 ` cvs-commit at gcc dot gnu.org
2024-05-10  7:05 ` aldyh 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).