public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: c++/6074 is a regression from 2.95 Date: Fri, 25 Oct 2002 08:56:00 -0000 [thread overview] Message-ID: <20021025155603.24884.qmail@sources.redhat.com> (raw) The following reply was made to PR c++/6074; it has been noted by GNATS. From: Wolfgang Bangerth <bangerth@ticam.utexas.edu> To: Jan Vroonhof <jvlists@ntlworld.com> Cc: Nathan Sidwell <nathan@codesourcery.com>, <gcc@gcc.gnu.org>, <gcc-gnats@gcc.gnu.org>, <gcc-patches@gcc.gnu.org>, <wilson@redhat.com> Subject: Re: c++/6074 is a regression from 2.95 Date: Fri, 25 Oct 2002 10:47:57 -0500 (CDT) This patch (thanks, Jan, for the pointer) revision 1.944 date: 2002/10/10 22:29:05; author: wilson; state: Exp; lines: +0 -1 Fix C++ FE attribute alias failure. * decl.c (duplicate_decls): Don't call decl_attributes. fixed c++/6074 and some duplicates on the mainline. I append it below. Can someone consider moving it over to the 3.2 branch? I confirmed that it fixes the regression there also, but I don't know whether it might have some other adverse effects there. Regards Wolfgang Index: decl.c =================================================================== RCS file: /cvsroot/gcc/gcc/gcc/cp/decl.c,v retrieving revision 1.943 retrieving revision 1.944 diff -u -r1.943 -r1.944 --- decl.c 9 Oct 2002 21:27:37 -0000 1.943 +++ decl.c 10 Oct 2002 22:29:05 -0000 1.944 @@ -3422,7 +3422,6 @@ except for any that we copy here from the old type. */ DECL_ATTRIBUTES (newdecl) = (*targetm.merge_decl_attributes) (olddecl, newdecl); - decl_attributes (&newdecl, DECL_ATTRIBUTES (newdecl), 0); if (TREE_CODE (newdecl) == TEMPLATE_DECL) { ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@ticam.utexas.edu www: http://www.ticam.utexas.edu/~bangerth
next reply other threads:[~2002-10-25 15:56 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-10-25 8:56 Wolfgang Bangerth [this message] 2002-10-25 10:46 Jim Wilson 2002-10-25 13:26 Mark Mitchell 2002-10-25 15:46 Mark Mitchell 2002-10-25 15:46 Jim Wilson
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=20021025155603.24884.qmail@sources.redhat.com \ --to=bangerth@ticam.utexas.edu \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@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).