This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.0.1 & C++ ABI issues
Jason Merrill <jason_merrill@redhat.com> writes:
| FWIW, the old, more general wording was:
[ quote snipped for brevity ]
| The optimization was restricted to temporaries and the NRVO in the October
| '97 working paper. I don't rember the example that motivated this change;
| perhaps the example above was thought excessive. I would think that
| treating parameters as temporaries in our earlier example would make sense
| in the context of inlining; I would expect them to look about the same in
| the tree structure.
Thanks for the historical settings which add more light to the issue.
I agree with you on treating parameters as temporaries in the context
of inlining.
-- Gaby