From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A9BBB3858293; Mon, 17 Oct 2022 23:54:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A9BBB3858293 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666050868; bh=O+gsYsuwPm1luc5dawf4YpCieN3OPRW7G7mUywPfLqM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nCnS2iWZbhzyyQM6ltJNTU93Da8a0uq6r/1CZAN7W099cW5xo2Yga5geQdeMt7qWV Ajy0OfeJ16kbOUvomhgoAEVY0qlQEVVWKkE+oEOUuqjdC6yrHavajHwUdeUBDWQpoh cdns77yLAMbBgUjgzNBUkdnLssbcXArxa4ph6h30= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/101697] [11/12/13 regression] ICE compiling uClibc-ng for h8300-linux Date: Mon, 17 Oct 2022 23:54:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.2.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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: law at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.4 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=3D101697 --- Comment #7 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:4374c424a60777a7658050f0aeb1dcc9af915647 commit r13-3348-g4374c424a60777a7658050f0aeb1dcc9af915647 Author: Jeff Law Date: Mon Oct 17 19:52:18 2022 -0400 Fix bogus RTL on the H8. This patch actually fixes the bogus RTL seen in PR101697. Basically we continue to use the insn condition to catch most of the problem cases related to autoinc addressing modes. This patch adds constraints which can guide reload (and hopefully LRA) away from doing blind replacements during register elimination that would ultimately result in bogus RTL. The id= ea is from Paul K. who has done something very similar on the pdp11. I guess= it shouldn't be a big surprise that the H8 and pdp11 need the same kind of handling given some of the similarities in their architectures. gcc/ PR target/101697 * config/h8300/combiner.md: Replace '<' preincment constraint w= ith ZA/Z1..ZH/Z7 combinations. * config/h8300/movepush.md: Similarly=