re PR c++/47503 ([C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno...
authorJason Merrill <jason@redhat.com>
Sat, 19 Feb 2011 22:39:50 +0000 (17:39 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 19 Feb 2011 22:39:50 +0000 (17:39 -0500)
commit06a85dd37ff6f5fb6c418cb218f707e428cf20c4
treee564a89db28dae08f88873e6bd140aed0babadb0
parente67401c78f7966e75ad348b3b8953741c89342e2
re PR c++/47503 ([C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno-elide-constructors)

PR c++/47503
* semantics.c (cxx_eval_call_expression): Shortcut trivial copy.

From-SVN: r170330
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/regress/no-elide1.C [new file with mode: 0644]