From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4E86D3858C2F; Wed, 14 Jun 2023 23:28:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E86D3858C2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1686785304; bh=dXAHh9oSLI9CaDuvTR4WmJ/Skd071XPWi8rs5BBppF8=; h=From:To:Subject:Date:From; b=Is63hVVhklNDeUqRX6Z5QdQtaBG6m9rQnete1ta2aaGwgPx/VB4XVnRflpSboLWPc 62ZVeFUA5c52Au7GcotSEy/1qjBC6JnP9Twr+Ws8/0vsBXo2vAcHn3GuR2e+hZJFZF UfTduwxwSD6M1zLOGR/T1MoCjaoIJIlt5VEf61pw= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/110261] New: vec.h mentions C++03 requirement for PODs and with respect to unions Date: Wed, 14 Jun 2023 23:28:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: internal-improvement 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D110261 Bug ID: 110261 Summary: vec.h mentions C++03 requirement for PODs and with respect to unions Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Since GCC is now written in C++11 (since GCC 11, r11-462-g5329b59a2e13dabbe= 2), the comment in vec.h: As long as we use C++03, we cannot have constructors nor destructors in classes that are stored in unions. */ No longer applies.=20 I have not tested using a non-POD with vec yet but I just wanted to record = this here for future reference and for others when some one finally notices this= and decides to test it.=