From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D96F93858023; Sat, 7 Nov 2020 22:32:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D96F93858023 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/97360] [11 Regression] ICE in range_on_exit Date: Sat, 07 Nov 2020 22:32:22 +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: 11.0 X-Bugzilla-Keywords: 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: 11.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 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: Sat, 07 Nov 2020 22:32:24 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97360 --- Comment #38 from CVS Commits --- The releases/gcc-10 branch has been updated by Peter Bergner : https://gcc.gnu.org/g:06a191027749834e628f2c2bdd2256108bf532e9 commit r10-8992-g06a191027749834e628f2c2bdd2256108bf532e9 Author: Richard Biener Date: Wed Oct 21 14:28:45 2020 -0500 rs6000: MMA type causes an ICE in ranger pass due to incompatible types PR97360 shows a problem in how we create our PXI and POI modes that cau= se an ICE in the ranger pass. The problem seems to be that the extra call to build_distinct_type_copy() also creates new TYPE_{MIN,MAX}_VALUEs th= at are not compatible/the same as the base type itself. The simple "fix" = is to actually remove the unneeded build_distinct_type_copy(), since accor= ding to richi, the types returned from make_unsigned_type() are already distinct. gcc/ 2020-10-21 Richard Biener PR target/97360 * config/rs6000/rs6000-call.c (rs6000_init_builtins): Remove ca= ll to build_distinct_type_copy(). gcc/testsuite/ 2020-10-21 Martin Liska PR target/97360 * gcc.target/powerpc/pr97360.c: New test. Co-authored-by: Andrew MacLeod Co-authored-by: Martin Liska (cherry picked from commit 84cc3370d6d5972fe495b2114fb32f7b4a49a98d)=