[Bug rtl-optimization/39081] missed optimization: un-needed copy of structure.
linasvepstas at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Feb 8 04:57:00 GMT 2009
------- Comment #3 from linasvepstas at gmail dot com 2009-02-08 04:57 -------
Thanks,
You are quite right, I offer my apologies for wasting your time.
I meant to have the signature of other() be other(TV&) not other(TV*) -- but --
I was hurriedly explaining this to someone else, and said "oh its like a
pointer" and must have typed what I was saying. Haste makes waste. Again, my
apologies.
FWIW, when the signature is correct, then indeed the compiler gets it right.
--
linasvepstas at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39081
More information about the Gcc-bugs
mailing list