From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8ACEE383F840; Tue, 9 Jun 2020 06:40:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8ACEE383F840 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1591684815; bh=ynlry1fQa3XCEkyqZ6mQB+RxrhkPl1K6C6v/7tAa+4A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xtRS1pNiwtYYT2Xeis9Zwk0XhYwM3p5orNx9dja4pnX42nzPWpvGjZ0EbZG62vg4Z 7aOPJCZmjJxr1ZHdLxKsg5PZi5O+xMUzZrBmIj7/Mkp+G30Zk9NTZp7MnQpGbSyrxp e2kFJDxM29yqqyiqhTDfx7W9PNR90g2LZvX2qnBk= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/95580] [11 Regression] ICE in tree_strip_any_location_wrapper at gcc/tree.h:4011 since r11-959-gb825a22890740f34 Date: Tue, 09 Jun 2020 06:40:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 11.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: P3 X-Bugzilla-Assigned-To: jakub 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: Tue, 09 Jun 2020 06:40:15 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95580 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d6dbb71e468d0db561cc9eca99eeaca1efb81c11 commit r11-1081-gd6dbb71e468d0db561cc9eca99eeaca1efb81c11 Author: Jakub Jelinek Date: Tue Jun 9 08:39:36 2020 +0200 c-family: Fix up MEM_REF printing [PR95580] The C FE in the MEM_REF printing ICEs if the type of the first argument (which due to useless pointer conversions can be an arbitrary type) is a pointer to an incomplete type. The code just wants to avoid printing a cast if it is a pointer to single byte elements. 2020-06-09 Jakub Jelinek PR c/95580 * c-pretty-print.c (c_pretty_printer::unary_expression): Handle= the case when MEM_REF's first argument has type pointer to incomple= te type. * gcc.dg/pr95580.c: New test.=