public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65211] [9/10 Regression] Type alignment lost inside templated function Date: Fri, 13 May 2022 17:14:16 +0000 [thread overview] Message-ID: <bug-65211-4-94hdvFqUqJ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-65211-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65211 --- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Jason Merrill <jason@gcc.gnu.org>: https://gcc.gnu.org/g:4b0c04f6b1c96f9baa7620c152b28e723212f955 commit r10-10738-g4b0c04f6b1c96f9baa7620c152b28e723212f955 Author: Jason Merrill <jason@redhat.com> Date: Wed Apr 13 21:56:03 2022 -0400 c++: alignment of local typedef in template [PR65211] Because common_handle_aligned_attribute only applies the alignment to the TREE_TYPE of a typedef, not the DECL_ORIGINAL_TYPE, we need to copy it explicitly in tsubst. PR c++/65211 gcc/cp/ChangeLog: * pt.c (tsubst_decl) [TYPE_DECL]: Copy TYPE_ALIGN. gcc/testsuite/ChangeLog: * g++.target/i386/vec-tmpl1.C: New test.
next prev parent reply other threads:[~2022-05-13 17:14 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-02-25 16:47 [Bug c++/65211] New: " linux at carewolf dot com 2015-02-25 16:49 ` [Bug c++/65211] " linux at carewolf dot com 2015-02-25 16:51 ` linux at carewolf dot com 2015-02-25 17:08 ` linux at carewolf dot com 2015-02-25 17:24 ` linux at carewolf dot com 2021-12-05 6:45 ` pinskia at gcc dot gnu.org 2021-12-05 6:56 ` [Bug c++/65211] [9/10/11/12 Regression] " pinskia at gcc dot gnu.org 2022-01-17 15:19 ` rguenth at gcc dot gnu.org 2022-04-14 1:58 ` jason at gcc dot gnu.org 2022-04-14 2:56 ` cvs-commit at gcc dot gnu.org 2022-04-26 7:54 ` [Bug c++/65211] [9/10/11 " cvs-commit at gcc dot gnu.org 2022-05-13 16:28 ` cvs-commit at gcc dot gnu.org 2022-05-13 17:14 ` cvs-commit at gcc dot gnu.org [this message] 2022-05-13 17:42 ` [Bug c++/65211] [9 " cvs-commit at gcc dot gnu.org 2022-05-13 17:59 ` jason at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-65211-4-94hdvFqUqJ@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).