diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 1999-08-06 19:01:13 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1999-08-06 15:01:13 -0400 |
commit | 76554ea3ab76d9251f935d929835e94d933ef2fb (patch) | |
tree | d7cde44bfb90bfa068078cde05cbc1ade48d3a76 /gcc/cp/typeck2.c | |
parent | 8402fd4f4cb96baf42051af214d7d31cd51f4402 (diff) | |
download | gcc-76554ea3ab76d9251f935d929835e94d933ef2fb.zip gcc-76554ea3ab76d9251f935d929835e94d933ef2fb.tar.gz gcc-76554ea3ab76d9251f935d929835e94d933ef2fb.tar.bz2 |
* typeck2.c (add_exception_specifier): Use complete_type.
From-SVN: r28552
Diffstat (limited to 'gcc/cp/typeck2.c')
-rw-r--r-- | gcc/cp/typeck2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c index ab98bea..3c16102 100644 --- a/gcc/cp/typeck2.c +++ b/gcc/cp/typeck2.c @@ -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) { |