* typeck2.c (add_exception_specifier): Use complete_type.
From-SVN: r28552
This commit is contained in:
parent
8402fd4f4c
commit
76554ea3ab
@ -1,3 +1,7 @@
|
||||
1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* typeck2.c (add_exception_specifier): Use complete_type.
|
||||
|
||||
1999-08-06 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* error.c (dump_expr): Handle EXACT_DIV_EXPR.
|
||||
|
@ -1553,7 +1553,7 @@ add_exception_specifier (list, spec, complain)
|
||||
else if (TREE_CODE (core) == TEMPLATE_TYPE_PARM)
|
||||
ok = 1;
|
||||
else
|
||||
ok = TYPE_SIZE (core) != NULL_TREE;
|
||||
ok = TYPE_SIZE (complete_type (core)) != NULL_TREE;
|
||||
|
||||
if (ok)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user