7247/optimization: copy constructor missing when inlining enabled for i386

Ewgenij Gawrilow gawrilow@math.TU-Berlin.DE
Thu Jul 11 08:00:00 GMT 2002


>>>>> "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



More information about the Gcc-bugs mailing list