summaryrefslogtreecommitdiffstats
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-04 20:13:01 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-04 20:13:01 +0000
commita6543b83eaed8c28c6b9068d31a98a77abdfd355 (patch)
treeb67e00c5506ddc2ca24b4895249a6aa8ba5a0347 /gcc/tree.c
parentb25817c60ef9b5e2694ba32849e29aaf7b4aaea6 (diff)
downloadppe42-gcc-a6543b83eaed8c28c6b9068d31a98a77abdfd355.tar.gz
ppe42-gcc-a6543b83eaed8c28c6b9068d31a98a77abdfd355.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59827 138bc75d-0d04-0410-961f-82ee72b054a4
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 c926b310923..dfac289f137 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.
OpenPOWER on IntegriCloud