From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 556803858D35; Sat, 15 Jul 2023 22:43:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 556803858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689461003; bh=YeOOsqErdFhQjYrABywWwyHvTd0RwyclJZYt7pFI/40=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iy+WVc0pkT6rmRKTFqi7YyrsCOhW7+YXaNSnme8Kn87RyGu3UgRNRw9gYQdMZ0YDy otM7Frutzrv04sRDqH76mJswfm6hipAhRrMq+tKQOkQS6wOXXhXAgSCpLAdaxYmeXe rMmvrv1CN9sEHaJvnxf7BWnalrhFmW5UjJPRiPs4= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109753] [13/14 Regression] pragma GCC target causes std::vector not to compile (always_inline on constructor) Date: Sat, 15 Jul 2023 22:43:22 +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: 13.1.1 X-Bugzilla-Keywords: needs-bisection, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: xry111 at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D109753 Xi Ruoyao changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org --- Comment #8 from Xi Ruoyao --- In local-fnsummary2: __attribute__((always_inline, target ("avx2"))) void aa::aa (struct aa * const this) { [local count: 1073741824]: return; } this seems correct. But: void __static_initialization_and_destruction_0 () { : aa::aa (&_M_impl); return; } Note that __static_initialization_and_destruction_0 is not attributed with avx2.=