Obsolete error message in expand_expr_real_1

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Sun Jul 25 20:31:00 GMT 2004


I believe the error message I'm deleting here is obsolete and that this
can no longer be caused by a user error, so it should fall through where
it'll cause an ICE if DECL_RTL isn't set.

Do you agree?

2004-07-25  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

	* expr.c (expand_expr_real_1, case PARM_DECL): Remove obsolete error
	check.

*** expr.c	23 Jul 2004 22:37:16 -0000	1.690
--- expr.c	25 Jul 2004 13:27:56 -0000
*************** expand_expr_real_1 (tree exp, rtx target
*** 6334,6345 ****
  
      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,
--- 6334,6337 ----



More information about the Gcc-patches mailing list