From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 810B9385843E; Wed, 15 Feb 2023 14:37:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 810B9385843E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676471845; bh=pO19dhqjcJILgv7PYev2lUKWHhJEaNTQFi2nv8w0Kes=; h=From:To:Subject:Date:From; b=mwkC7EYHWFD8Jn2eCOc7W8/zbQT+bvp4LkDbRO/9XpqeItTcUVjgYIP71mof2W1c7 VbT5q+G6SEKrtIj0RnltyuclniimCQYdSSBz3vmhnevBudAd2LK3buD/du6EyGHP9U dahjiLpKsRK7IZDPW9n2GMBhnozQshfScoXqeLRQ= From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108805] New: [13 Regression] ICE: in simplify_subreg, at simplify-rtx.cc:7400 at -O and above Date: Wed, 15 Feb 2023 14:37:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108805 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=3D54469&action=3Dedit 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 for instructions.=