From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C74613858D20; Mon, 9 Jan 2023 16:39:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C74613858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673282395; bh=FFDCS73DPRD3fDsIt5PSwuv5BC9qfQ/yKGGip5oAS/0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=A137n/x9+1Ywd4XNso9Ra/kCxrXO73+fiXkYDGP3xvdxLYaRlHONo/cNj/1SPkgP7 gnXs6O1XAYa6B2uvY/G+YgpHnltQhgrNW7FtzLE+ARuLtp6GcKPUQApykdI8Rzs/fy 98ZXvtpY8KmPcEbqei3FPslczO+hC7EvM6xBDALg= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108342] std::complex: ignoring packed attribute because of unpacked non-POD field Date: Mon, 09 Jan 2023 16:39:55 +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: 12.2.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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: resolution bug_status 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=3D108342 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #9 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2003-July/110087.html This was done on purpose. GCC also rejects References too while clang accep= ts that (but I am not sure it gives the correct code for references of packed either which is why GCC started to reject it).=