re PR c++/46807 (internal compiler error: in synthesized_method_walk)
authorJason Merrill <jason@redhat.com>
Wed, 16 Feb 2011 00:39:27 +0000 (19:39 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 16 Feb 2011 00:39:27 +0000 (19:39 -0500)
commit503c8e860b28659ab922f8500590d08353c0575c
treea6d0a3bb4ee91bd00b282995d12c2c735da5c1f8
parentaa2bf28660fa52a864fc8e0dacf4d5862c86e2e9
re PR c++/46807 (internal compiler error: in synthesized_method_walk)

PR c++/46807
* method.c (synthesized_method_walk): Always exit early for
trivial fn in C++98 mode.

From-SVN: r170207
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/implicit-trivial1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/inherit/implicit-trivial1.C [new file with mode: 0644]