From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 28BB43858D33; Thu, 18 Jan 2024 18:03:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 28BB43858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705601023; bh=/O9hQHCYQg6SQmo3x035v4hW7tmOiT28dPj8k07PTVU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yPTE5GF5PL91mSG7WDvyAvyzNqHUkFVX9apmwINxZ9iym5fAs0npLtSD2xm+hOKoZ YS5shK167bGdlmZTcXZk4Zj6PC3ma7PcvTW/TWwOfnxnJxi+VzD/pmGnniQuEYcFez tqS8fhFp0AKIDriuVFnxQJ0+jk9ryAkeRKnEV8bQ= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/113481] avr: internal compiler error in decompose, at rtl.h:2298 Date: Thu, 18 Jan 2024 18:03:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-checking, 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: short_desc keywords target_milestone 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=3D113481 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[14 Regession] avr: |avr: internal compiler |internal compiler error in |error in decompose, at |decompose, at rtl.h:2298 |rtl.h:2298 Keywords| |ice-checking Target Milestone|14.0 |--- --- Comment #3 from Andrew Pinski --- Note -fchecking does not enable gcc_checking_assert checking so you will ne= ed to configure older compilers with --enable-checking=3Dyes to get the assert hitting. The assert that hits: gcc_checking_assert (INTVAL (x.first) =3D=3D sext_hwi (INTVAL (x.first), precision) || (x.second =3D=3D BImode && INTVAL (x.first)= =3D=3D 1)); What this assert is trying to make a point of is that we always sign extend CONST_INT to HostWideInt (almost always 64bit integer) from the precision of the mode.=