From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D91693858031; Tue, 5 Dec 2023 07:35:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D91693858031 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701761732; bh=dtvBI8lpR/jTujQBGF0+eClV509aB0ppRorUWQ3g9D8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wY19dJc6uZggUPsbiwng4fGbhTo66lDQQnbfeWfRMH4qg+e431tJEGVvHE2uxSnCA 0vKPfMvmY8ECMHARKnFqxEYZcCtX2nbHiyETrZV0bx4pZALdiF+zxWZikZpzf9fr1i QOaA9qwL6eJRVDL1NTbbvrF+gIHE1498ifcAl2zE= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/89270] [11/12/13/14 regression] AVR ICE: verify_gimple failed Date: Tue, 05 Dec 2023 07:35:32 +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: 9.0 X-Bugzilla-Keywords: addr-space, 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: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 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=3D89270 --- Comment #13 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:4dd02d62abd76a69f65d9f3fed6febeed53fc90a commit r14-6134-g4dd02d62abd76a69f65d9f3fed6febeed53fc90a Author: Richard Biener Date: Mon Dec 4 14:03:37 2023 +0100 c/89270 - honor registered_builtin_types in type_for_size The following fixes the intermediate conversions inserted by convert_to_integer when facing address-spaces and converts to their effective [u]intptr_t when they are registered_builtin_types by considering those also from c_common_type_for_size and not only from c_common_type_for_mode. PR c/89270 gcc/c-family/ * c-common.cc (c_common_type_for_size): Consider registered_builtin_types. gcc/testsuite/ * gcc.target/avr/pr89270.c: New testcase.=