aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2002-12-04 15:13:01 -0500
committerJason Merrill <jason@gcc.gnu.org>2002-12-04 15:13:01 -0500
commitc246c65d7638d21cf773a4fab446870c93635390 (patch)
treeb67e00c5506ddc2ca24b4895249a6aa8ba5a0347 /gcc/tree.c
parentae598ab989bc96176b5218df66234a006acdf52e (diff)
downloadgcc-c246c65d7638d21cf773a4fab446870c93635390.zip
gcc-c246c65d7638d21cf773a4fab446870c93635390.tar.gz
gcc-c246c65d7638d21cf773a4fab446870c93635390.tar.bz2
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 <jason@redhat.com> 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
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c3
1 files changed, 3 insertions, 0 deletions
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.