This is the mail archive of the gcc-bugs@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: 7247/optimization: copy constructor missing when inlining enabled for i386


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


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