diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2013-07-24 08:35:54 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2013-07-24 08:35:54 +0000 |
commit | 3f2d352c1d8a8b03b02e57a34358d5e2ee65f9ee (patch) | |
tree | aa800f4feaf2aef175748c37ddc9af9067e46167 /libgo/runtime/runtime.c | |
parent | a5f257fdc1a761be12de5be152137f6abe8a2e89 (diff) | |
download | gcc-3f2d352c1d8a8b03b02e57a34358d5e2ee65f9ee.zip gcc-3f2d352c1d8a8b03b02e57a34358d5e2ee65f9ee.tar.gz gcc-3f2d352c1d8a8b03b02e57a34358d5e2ee65f9ee.tar.bz2 |
re PR c++/57942 (g++-4.8.1 tries to instantiate wrong constructor)
/cp
2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/57942
* typeck.c (ptr_reasonably_similar): Use COMPARE_STRICT if one of
the target types is incomplete; return a bool, not an int.
* cp-tree.h (ptr_reasonably_similar): Adjust declaration.
/testsuite
2013-07-24 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/57942
* g++.dg/inherit/pr57942.C: New.
From-SVN: r201201
Diffstat (limited to 'libgo/runtime/runtime.c')
0 files changed, 0 insertions, 0 deletions