re PR c++/12184 (ICE with trying to convert an incomplete type)
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 15 Sep 2003 14:48:29 +0000 (14:48 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 15 Sep 2003 14:48:29 +0000 (14:48 +0000)
commit3afd2e20078216bf8c188d3d95326d92bfd0459f
tree2561c593f7768837b808e9a8736bf10674dbc17c
parent2352184a1f8bf7d868be39e39c6dea68d8aa33a4
re PR c++/12184 (ICE with trying to convert an incomplete type)

cp:
PR c++/12184
* typeck.c (convert_arguments): Return error_mark_node for an
incomplete parameter. Make error message more informative.
testsuite:
PR c++/12184
* g++.dg/expr/call2.C: New test.

From-SVN: r71402
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/expr/call2.C [new file with mode: 0644]