This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ patch] Fix sharing problem


Jason Merrill <jason@redhat.com> writes:

> On Sun, 4 Jan 2004 13:56:28 +0100, Jan Hubicka <jh@suse.cz> wrote:
>
>>> On Sat, 3 Jan 2004 18:50:31 +0100, Jan Hubicka <jh@suse.cz> wrote:
>>> 
>>> > !       args = TREE_CHAIN (cxx_unsave_expr_now (TREE_OPERAND (call_expr, 1)));
>>> 
>>> This is wrong; it will reevaluate any calls in the placement argument.  The
>>> stabilize_call patch on the tree-ssa branch fixes the sharing problem; I
>>> didn't apply it to the trunk because I didn't think it was fixing a bug.
>>> Perhaps I should do so.
>>
>> Please do.  Can you point me to the patch so I can backport it to the
>> hammer branch?
>
> http://gcc.gnu.org/ml/gcc-patches/2003-11/msg01390.html

Should it go to mainline or not?  Will you do the commit yourself,
Jason?

Cheers,
Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]