public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/108805] New: [13 Regression] ICE: in simplify_subreg, at simplify-rtx.cc:7400 at -O and above
@ 2023-02-15 14:37 zsojka at seznam dot cz
  2023-02-15 19:37 ` [Bug rtl-optimization/108805] " ubizjak at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2023-02-15 14:37 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108805
           Summary: [13 Regression] ICE: in simplify_subreg, at
                    simplify-rtx.cc:7400 at -O and above
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu

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

Compiler output:
$ x86_64-pc-linux-gnu-gcc -O testcase.c
during RTL pass: combine
testcase.c: In function 'foo':
testcase.c:16:1: internal compiler error: in simplify_subreg, at
simplify-rtx.cc:7400
   16 | }
      | ^
0x79d82a simplify_context::simplify_subreg(machine_mode, rtx_def*,
machine_mode, poly_int<1u, unsigned long>)
        /repo/gcc-trunk/gcc/simplify-rtx.cc:7400
0x13a9438 simplify_context::simplify_gen_subreg(machine_mode, rtx_def*,
machine_mode, poly_int<1u, unsigned long>)
        /repo/gcc-trunk/gcc/simplify-rtx.cc:7694
0x13a9438 simplify_context::simplify_gen_subreg(machine_mode, rtx_def*,
machine_mode, poly_int<1u, unsigned long>)
        /repo/gcc-trunk/gcc/simplify-rtx.cc:7694
0x23c8a32 simplify_gen_subreg(machine_mode, rtx_def*, machine_mode,
poly_int<1u, unsigned long>)
        /repo/gcc-trunk/gcc/rtl.h:3535
0x23c8a32 if_then_else_cond
        /repo/gcc-trunk/gcc/combine.cc:9375
0x23c8535 if_then_else_cond
        /repo/gcc-trunk/gcc/combine.cc:9240
0x23ddd0c combine_simplify_rtx
        /repo/gcc-trunk/gcc/combine.cc:5723
0x23e01eb subst
        /repo/gcc-trunk/gcc/combine.cc:5605
0x23e00e8 subst
        /repo/gcc-trunk/gcc/combine.cc:5532
0x23e3831 try_combine
        /repo/gcc-trunk/gcc/combine.cc:3336
0x23ebca0 combine_instructions
        /repo/gcc-trunk/gcc/combine.cc:1287
0x23ebca0 rest_of_handle_combine
        /repo/gcc-trunk/gcc/combine.cc:14978
0x23ebca0 execute
        /repo/gcc-trunk/gcc/combine.cc:15023
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

end of thread, other threads:[~2023-02-17 15:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-15 14:37 [Bug target/108805] New: [13 Regression] ICE: in simplify_subreg, at simplify-rtx.cc:7400 at -O and above zsojka at seznam dot cz
2023-02-15 19:37 ` [Bug rtl-optimization/108805] " ubizjak at gmail dot com
2023-02-16  7:40 ` ubizjak at gmail dot com
2023-02-17 15:04 ` cvs-commit at gcc dot gnu.org
2023-02-17 15:20 ` ubizjak at gmail dot com
2023-02-17 15:21 ` ubizjak at gmail dot com

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).