From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 17595385661C; Thu, 15 Jun 2023 17:38:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 17595385661C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686850695; bh=XRl4i4QvKVGyJ06tCz6RLRTLH4vpKlJDmIO9LrzPdQ8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SnNKTugevuLT75KDJ/sgJlAsa8HQ+sgxjj7W9MWb1HDUka8MldosGQkRlRCDoB8E6 AUPNMT9jdKIQqlggtUh2kkcNpzfs5FBPxxi4zxt32SCN5dpo19fu5sfK26ruNE7R+z yo/H3HtHMk1Paltw8vBBdmm9v7VE0dXPF5E8QWFE= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/110266] [14 Regression] ice in gimple_range_adjustment Date: Thu, 15 Jun 2023 17:38:14 +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: P3 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=3D110266 --- Comment #7 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:6c121a2c687c56b09ecc11ef6ae1893ec5006325 commit r14-1871-g6c121a2c687c56b09ecc11ef6ae1893ec5006325 Author: Andrew MacLeod Date: Thu Jun 15 11:59:55 2023 -0400 Check for integer only complex. With the expanded capabilities of range-op dispatch, floating point complex objects can appear when folding, whic they couldn't before. In the processig for extracting integers from complex ints, make sure it is an integer complex. PR tree-optimization/110266 gcc/ * gimple-range-fold.cc (adjust_imagpart_expr): Check for integer complex type. (adjust_realpart_expr): Ditto. gcc/testsuite/ * gcc.dg/pr110266.c: New.=