From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EF2B53875DFD; Fri, 20 Mar 2020 16:21:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF2B53875DFD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1584721315; bh=Y8KCtUgFI0vxTnsH61hXOmqbqZOYsDN21dIkCealJdE=; h=From:To:Subject:Date:From; b=EgpAvMznmU7p+0o11zEQRPVUBS7YFy8kyEWLEnCzbOEOOXj3jIFBOPD/TUwTCfK7Y GtxJ+fEBh4SPZnhrEZjizMtjihjVazGoYyffgq8nr9vOim1JEStWlWe45BnolmnZmF P3/57SEer4WkYI4NEC5f5T29mjCA9XGuYa/HO+dA= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94238] New: [10 Regression] ICE in ix86_cc_mode, at config/i386/i386.c:15285 since r10-7268-g529ea7d9596b26ba Date: Fri, 20 Mar 2020 16:21:55 +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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org 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 cc target_milestone cf_gcchost cf_gcctarget 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2020 16:21:56 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94238 Bug ID: 94238 Summary: [10 Regression] ICE in ix86_cc_mode, at config/i386/i386.c:15285 since r10-7268-g529ea7d9596b26ba Product: gcc Version: 10.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: law at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux-gnu Target: x86_64-linux-gnu I see the following ICE (isolated from linux kernel): $ cat kernel.i enum { false, true } a; int b, c, d, e, f; int fn3(); void fn2(); void fn1() { _Bool g, h =3D false, i =3D false; int j; c =3D b && f || d; if (c) { if (d) i =3D true; _Bool k =3D b; int l =3D e, m =3D a; g =3D k && l < m || l > m; } if (g) h =3D true; if (i) fn2(); h &&j &&fn3(); } $ gcc kernel.i -c -O2 during RTL pass: combine kernel.i: In function =E2=80=98fn1=E2=80=99: kernel.i:22:1: internal compiler error: in ix86_cc_mode, at config/i386/i386.c:15285 22 | } | ^ 0x783f93 ix86_cc_mode(rtx_code, rtx_def*, rtx_def*) ../../gcc/config/i386/i386.c:15285 0x16d3bef simplify_set ../../gcc/combine.c:6938 0x16d5887 combine_simplify_rtx ../../gcc/combine.c:6440 0x16d74ca subst ../../gcc/combine.c:5719 0x16d7674 subst ../../gcc/combine.c:5581 0x16da961 try_combine ../../gcc/combine.c:3479 0x16e1532 combine_instructions ../../gcc/combine.c:1469 0x16e1532 rest_of_handle_combine ../../gcc/combine.c:15059 0x16e1532 execute ../../gcc/combine.c:15104 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=