public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Jason Merrill <jason@redhat.com>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: optimization/7145: [PATCH] g++ -O with structure initializer & return value optimization generates bad code
Date: Fri, 05 Jul 2002 08:06:00 -0000	[thread overview]
Message-ID: <20020705150601.13714.qmail@sources.redhat.com> (raw)

The following reply was made to PR optimization/7145; it has been noted by GNATS.

From: Jason Merrill <jason@redhat.com>
To: "H. J. Lu" <hjl@lucon.org>
Cc: tlb@tlb.org, gcc-gnats@gcc.gnu.org, gcc@gcc.gnu.org
Subject: Re: optimization/7145: [PATCH] g++ -O with structure initializer &
 return value optimization generates bad code
Date: Fri, 05 Jul 2002 15:59:53 +0100

 --=-=-=
 
 Here's the patch I'm applying.
 
 2002-07-05  Jason Merrill  <jason@redhat.com>
 
 	* tree.c (cp_copy_res_decl_for_inlining): Also copy DECL_INITIAL.
 
 
 --=-=-=
 Content-Type: text/x-patch
 Content-Disposition: inline
 
 *** tree.c.~1~	Tue Jul  2 14:56:10 2002
 --- tree.c	Thu Jul  4 16:08:15 2002
 *************** cp_copy_res_decl_for_inlining (result, f
 *** 2292,2297 ****
 --- 2292,2298 ----
   	  DECL_SOURCE_FILE (var) = DECL_SOURCE_FILE (nrv);
   	  DECL_SOURCE_LINE (var) = DECL_SOURCE_LINE (nrv);
   	  DECL_ABSTRACT_ORIGIN (var) = DECL_ORIGIN (nrv);
 + 	  DECL_INITIAL (var) = DECL_INITIAL (nrv);
   	  splay_tree_insert (decl_map,
   			     (splay_tree_key) nrv,
   			     (splay_tree_value) var);
 
 --=-=-=--


             reply	other threads:[~2002-07-05 15:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-05  8:06 Jason Merrill [this message]
2002-07-05  8:06 H. J. Lu

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=20020705150601.13714.qmail@sources.redhat.com \
    --to=jason@redhat.com \
    --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: link
Be 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).