From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CD800385E444; Fri, 9 Oct 2020 20:43:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CD800385E444 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/97359] New: ice in logical_combine, at gimple-range-gori.cc:754 Date: Fri, 09 Oct 2020 20:43:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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 bug_severity priority component assigned_to reporter target_milestone 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, 09 Oct 2020 20:43:25 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97359 Bug ID: 97359 Summary: ice in logical_combine, at gimple-range-gori.cc:754 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- The attached C code, when compiled by recent gcc trunk and compiler flag -O2, does this: $ ../results/bin/gcc -c -O2 -w bug651.c during GIMPLE pass: evrp bug651.c: In function =E2=80=98func_14=E2=80=99: bug651.c:12278:1: internal compiler error: in logical_combine, at gimple-range-gori.cc:754 12278 | } | ^ 0x18d8f56 gori_compute::logical_combine(irange&, tree_code, irange const&, tf_range const&, tf_range const&) ../../trunk.git/gcc/gimple-range-gori.cc:754 0x18da9e2 gori_compute_cache::cache_stmt(gimple*) ../../trunk.git/gcc/gimple-range-gori.cc:1314 0x18da6c4 gori_compute_cache::compute_operand_range(irange&, gimple*, irange const&, tree_node*) ../../trunk.git/gcc/gimple-range-gori.cc:1279 0x18d881e gori_compute::compute_operand1_range(irange&, gimple*, irange con= st&, tree_node*) I'll have a go at reducing the code.=