Commit 0b1d1db4 by Richard Kenner Committed by Richard Kenner

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
parent 61025d1b
2004-07-27 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 2004-07-27 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* 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, * gimplify.c (maybe_with_size_expr): If already have WITH_SIZE_EXPR,
don't make another one. don't make another one.
......
...@@ -6335,14 +6335,6 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode, ...@@ -6335,14 +6335,6 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode,
} }
case PARM_DECL: 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: case VAR_DECL:
/* If a static var's type was incomplete when the decl was written, /* If a static var's type was incomplete when the decl was written,
but the type is complete now, lay out the decl now. */ but the type is complete now, lay out the decl now. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment