From: Richard Kenner Date: Wed, 6 Oct 1993 02:44:02 +0000 (-0400) Subject: (contains_placeholder_p): Return 0 for CONSTRUCTOR. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a56e71332738952aecb6a119d4a8a8e54e907985;p=gcc.git (contains_placeholder_p): Return 0 for CONSTRUCTOR. (substitute_in_expr): Don't allow CONSTRUCTOR. From-SVN: r5625 --- diff --git a/gcc/tree.c b/gcc/tree.c index aafc7576a16..d5d8371e9fa 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -1911,6 +1911,7 @@ contains_placeholder_p (exp) return contains_placeholder_p (TREE_OPERAND (exp, 0)); case 2: return (code != RTL_EXPR + && code != CONSTRUCTOR && ! (code == SAVE_EXPR && SAVE_EXPR_RTL (exp) != 0) && code != WITH_RECORD_EXPR && (contains_placeholder_p (TREE_OPERAND (exp, 0)) @@ -1963,7 +1964,7 @@ substitute_in_expr (exp, f, r) f, r))); case 2: - if (code == RTL_EXPR) + if (code == RTL_EXPR || code == CONSTRUCTOR) abort (); return fold (build (code, TREE_TYPE (exp),