public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/114628] New: [14 Regression] ICE in gimple_check_failed at gimple.cc:1337 while compiling bitint-100.c
@ 2024-04-07 10:53 pheeck at gcc dot gnu.org
  2024-04-07 10:54 ` [Bug middle-end/114628] " pheeck at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: pheeck at gcc dot gnu.org @ 2024-04-07 10:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114628
           Summary: [14 Regression] ICE in gimple_check_failed at
                    gimple.cc:1337 while compiling bitint-100.c
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pheeck at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu

While compiling the gcc.dg/bitint-100.c testsuite testcase

gcc src/gcc/testsuite/gcc.dg/bitint-100.c -fvar-tracking-assignments-toggle

the following ICE occurs

during GIMPLE pass: bitintlower0
src/gcc/testsuite/gcc.dg/bitint-100.c: In function ‘corge’:
src/gcc/testsuite/gcc.dg/bitint-100.c:44:1: internal compiler error: gimple
check: expected gimple_assign(error_mark), have gimple_debug() in
gimple_assign_lhs, at gimple.h:2663
   44 | corge (int x, _BitInt(575) y, _BitInt(325) *z)
      | ^~~~~
0x74f67a gimple_check_failed(gimple const*, char const*, int, char const*,
gimple_code, tree_code)
        /home/fkastl/gcc/src/gcc/gimple.cc:1337
0x1f50114 gassign const* GIMPLE_CHECK2<gassign const*>(gimple const*, char
const*, int, char const*)
        /home/fkastl/gcc/src/gcc/gimple.h:74
0x1f50114 gimple_assign_lhs(gimple const*)
        /home/fkastl/gcc/src/gcc/gimple.h:2663
0x1f50114 gimple_lower_bitint
        /home/fkastl/gcc/src/gcc/gimple-lower-bitint.cc:7195

Compiler configuration (nothing special there I believe):

Reading specs from /home/fkastl/gcc/build/gcc/specs
COLLECT_GCC=/home/fkastl/gcc/build/gcc/xgcc
COLLECT_LTO_WRAPPER=/home/fkastl/gcc/build/gcc/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/fkastl/gcc/src/configure --disable-bootstrap
--enable-checking --disable-libsanitizer --prefix=/home/fkastl/gcc/inst
--enable-languages=c
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 14.0.1 20240405 (experimental) (GCC)

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

end of thread, other threads:[~2024-04-09  7:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-07 10:53 [Bug middle-end/114628] New: [14 Regression] ICE in gimple_check_failed at gimple.cc:1337 while compiling bitint-100.c pheeck at gcc dot gnu.org
2024-04-07 10:54 ` [Bug middle-end/114628] " pheeck at gcc dot gnu.org
2024-04-07 20:18 ` [Bug middle-end/114628] ICE with _BitInt with computed gotos with returns_twice and -g and optimization pinskia at gcc dot gnu.org
2024-04-08 14:11 ` [Bug middle-end/114628] ICE with _BitInt returns_twice (and computed gotos) with " jakub at gcc dot gnu.org
2024-04-08 14:13 ` jakub at gcc dot gnu.org
2024-04-09  7:29 ` cvs-commit at gcc dot gnu.org
2024-04-09  7:30 ` jakub 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).