From c246c65d7638d21cf773a4fab446870c93635390 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 4 Dec 2002 15:13:01 -0500 Subject: PR c++/8461, c++/8625 PR c++/8461, c++/8625 * integrate.c (copy_decl_for_inlining): Handle explicit invisible references. * tree-inline.c (initialize_inlined_parameters): Likewise. 2002-12-03 Jason Merrill PR c++/8461, c++/8625 * call.c (convert_for_arg_passing): Don't mess with error_mark_node. (cp_convert_parm_for_inlining): Remove. * cp-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): Remove. * cp-tree.h (ADDR_IS_INVISIREF): Remove. * except.c (stabilize_throw_expr): Remove ADDR_IS_INVISIREF code. From-SVN: r59827 --- gcc/tree.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/tree.c') diff --git a/gcc/tree.c b/gcc/tree.c index c926b31..dfac289 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -4118,6 +4118,9 @@ bool variably_modified_type_p (type) tree type; { + if (type == error_mark_node) + return false; + /* If TYPE itself has variable size, it is variably modified. We do not yet have a representation of the C99 '[*]' syntax. -- cgit v1.1