From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CBA35385841B; Wed, 31 May 2023 07:51:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CBA35385841B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685519511; bh=f6CXVvg2dF9LxHIyHD5AgCsldFG44+ycMp9Y5nw1rEA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xBtmGa08k5j6YEyNL8sS9ymUX+VOq+TF4mbEu6Imn3wlMdMt9XlNhhGVHbihaFSxP Q/TxhVcbSsyRg+6N87sss01pDOoufNbtySduEdpkG5WO6bB2P7QBVRYxz6IB3MMBoj CIqrvAcR4yGcjJqhmryvoEyChoOvVasgERvW/YgE= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110038] [14 Regression] ICE: in rewrite_expr_tree_parallel, at tree-ssa-reassoc.cc:5522 with --param=tree-reassoc-width=2147483647 Date: Wed, 31 May 2023 07:51:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D110038 --- Comment #3 from CVS Commits --- The master branch has been updated by Lili Cui : https://gcc.gnu.org/g:80ee7d02e8db4893e104de02659fb71cc1dc81e9 commit r14-1425-g80ee7d02e8db4893e104de02659fb71cc1dc81e9 Author: Cui, Lili Date: Wed May 31 07:39:13 2023 +0000 Fix ICE in rewrite_expr_tree_parallel 1. Limit the value of tree-reassoc-width to IntegerRange(0, 256). 2. Add width limit in rewrite_expr_tree_parallel. gcc/ChangeLog: PR tree-optimization/110038 * params.opt: Add a limit on tree-reassoc-width. * tree-ssa-reassoc.cc (rewrite_expr_tree_parallel): Add width limit. gcc/testsuite/ChangeLog: PR tree-optimization/110038 * gcc.dg/pr110038.c: New test.=