From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2756F3858D3C; Mon, 10 Jul 2023 04:35:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2756F3858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688963722; bh=zadvS+Ggngw4X9YbXyfFME83u/nMWut4klVPnI8QOMA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kwK50xMBbAQMeyCCOqfrzz6M4o/hlXZ/YutbI9gqNR5NrAIv7EXv3jxHNdlr4rTlu WBljfToD4tIbi+OQ5Qftjs6g+H9rDAYEb6uzuV480Z78pCKeBs6fgIho6uKutKdPmz Ua43B16hdA2Zx1uhdklbqnaJB6PvXHu5Ky8bvQ68= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/89996] [avr] ICE in expand_expr_real_2 with -O3 and address spaces Date: Mon, 10 Jul 2023 04:35:20 +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: 8.3.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: component short_desc cf_known_to_fail 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=3D89996 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Component|target |tree-optimization Summary|[avr] ICE in |[avr] ICE in |expand_expr_real_2 with -O3 |expand_expr_real_2 with -O3 | |and address spaces Known to fail| |9.2.0 --- Comment #2 from Andrew Pinski --- With -fchecking we get: :23:13: error: type mismatch in 'pointer_plus_expr' 23 | static void send_document(DESC *d, short err, const char __flash *err_string, | ^~~~~~~~~~~~~ const char[5] * const struct=20 { char ext[5]; const char * desc; _Bool subst; }[3] * sizetype _5 =3D &mime_types + _9; :23: confused by earlier errors, bailing out This is from laddress.=