[Bug c++/89695] unexpected copying of trivially copyable prvalue arguments

2021-10-28 Thread matthijsvanduin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89695 --- Comment #5 from Matthijs van Duin --- So for reference, the Itanium C++ ABI says: "A type which is trivial for the purposes of the ABI will be passed and returned according to the rules of the base C ABI, e.g. in registers; often this has th

[Bug c++/89695] unexpected copying of trivially copyable prvalue arguments

2019-10-03 Thread matthijsvanduin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89695 --- Comment #4 from Matthijs van Duin --- (In reply to Jonathan Wakely from comment #3) > I believe this is required by the ABI for trivially copyable types. I don't see how that's possible, the callee can't tell the difference.

[Bug c++/89695] unexpected copying of trivially copyable prvalue arguments

2019-04-26 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89695 --- Comment #3 from Jonathan Wakely --- I believe this is required by the ABI for trivially copyable types.

[Bug c++/89695] unexpected copying of trivially copyable prvalue arguments

2019-03-13 Thread matthijsvanduin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89695 Matthijs van Duin changed: What|Removed |Added Summary|inappropriate copying of|unexpected copying of