This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 7247/optimization: copy constructor missing when inlining enabled for i386
- From: Ewgenij Gawrilow <gawrilow at math dot TU-Berlin dot DE>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc-bugs at gcc dot gnu dot org, jason at redhat dot com
- Date: Thu, 11 Jul 2002 16:50:32 +0200
- Subject: Re: 7247/optimization: copy constructor missing when inlining enabled for i386
- References: <20020710123937.A25046@lucon.org>
>>>>> "Lu" == H J Lu <hjl@lucon.org> writes:
Lu> Can you try
Lu> http://gcc.gnu.org/ml/gcc-patches/2002-06/msg02277.html
Lu> Jason, it looks like your patch doesn't catch this one.
Exactly. Nothing has changed.
By the way, I didn't see any place the named return value optimization
could come into play, more likely the leaf/sibling routine optimization:
all the functions comprising the mis-compiled expression consist of
lone "return" statements creating temporary objects. But you must
know about this better...
With best regards,
Ewgenij Gawrilow