From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 118E03858023; Fri, 9 Apr 2021 23:11:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 118E03858023 From: "hp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/99212] [11 Regression] gcc.dg/analyzer/data-model-1.c line 971 Date: Fri, 09 Apr 2021 23:11:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hp at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm 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: Fri, 09 Apr 2021 23:11:50 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99212 --- Comment #9 from Hans-Peter Nilsson --- (In reply to Richard Biener from comment #8) > xfail/pass depending on sizeof (int) might be possible but as said it mig= ht > be that cris doesn't have sizeof (int) =3D=3D 1 You meant something else here than what you wrote. If you meant (effective= ly) sizeof (int) =3D=3D 4, then "every port" has INT_TYPE_SIZE 32 (bits), inclu= ding those mentioned in this PR. > but instead just lays out > struct ubits in a way to have its size being 1. It's true that sizeof (struct ubits) =3D=3D 1 (byte) for cris-elf. FWIW, I don't know what it is that pru-elf, cris-elf and m68k-linux have in common that matters here. First I was dead sure it was they got "#define PCC_BITFIELD_TYPE_MATTERS false" but that doesn't seem to grep to true for pru-elf. cris-elf and m68k include config/elfos.h then #undef PCC_BITFIELD_TYPE_MATTERS, so you get the quoted defaults.h line, but pru doesn't have the #undef.=