C++ PATCH for c++/58063 (wrong-code with virtual base and default argument)
Jason Merrill
jason@redhat.com
Tue Jun 16 19:28:00 GMT 2015
The problem here was that break_out_target_exprs was duplicating a
SAVE_EXPR, so we ended up evaluating the inner call twice. Fixed by
mapping them as well as TARGET_EXPRs.
Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 58063.patch
Type: text/x-patch
Size: 1692 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150616/73f97481/attachment.bin>
More information about the Gcc-patches
mailing list