From: Richard Kenner Date: Wed, 28 Jul 2004 03:38:33 +0000 (+0000) Subject: expr.c (expand_expr_real_1, [...]): Remove obsolete error check. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b1d1db44469627e031e6b41e1d3bbbe52d9ccea;p=gcc.git expr.c (expand_expr_real_1, [...]): Remove obsolete error check. * expr.c (expand_expr_real_1, case PARM_DECL): Remove obsolete error check. From-SVN: r85250 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 60411fac08e..fba6d43b38b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2004-07-27 Richard Kenner + * expr.c (expand_expr_real_1, case PARM_DECL): Remove obsolete error + check. + * gimplify.c (maybe_with_size_expr): If already have WITH_SIZE_EXPR, don't make another one. diff --git a/gcc/expr.c b/gcc/expr.c index 0cb1fcad097..c3a0d8060a9 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -6335,14 +6335,6 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode, } case PARM_DECL: - if (!DECL_RTL_SET_P (exp)) - { - error ("%Jprior parameter's size depends on '%D'", exp, exp); - return CONST0_RTX (mode); - } - - /* ... fall through ... */ - case VAR_DECL: /* If a static var's type was incomplete when the decl was written, but the type is complete now, lay out the decl now. */