re PR c++/6419 (ICE in make_decl_rtl for "longest" c++ attribute)

PR c++/6419
	* expr.c (expand_expr): Use DECL_RTL_SET_P.

From-SVN: r58254
This commit is contained in:
Jan Hubicka 2002-10-17 19:17:51 +02:00 committed by Jan Hubicka
parent 53e04db93b
commit aadcb748a7
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,9 @@ Thu Oct 17 17:14:07 CEST 2002 Jan Hubicka <jh@suse.cz>
* reload.c (reload_inner_reg_of_subreg): New argument output;
(push_reload): Update call.
PR c++/6419
* expr.c (expand_expr): Use DECL_RTL_SET_P.
Wed Apr 24 23:45:37 2002 J"orn Rennecke <joern.rennecke@superh.com>
* calls.c (expand_call): Take current_function_pretend_args_size

View File

@ -6227,7 +6227,7 @@ expand_expr (exp, target, tmode, modifier)
}
case PARM_DECL:
if (DECL_RTL (exp) == 0)
if (! DECL_RTL_SET_P (exp))
{
error_with_decl (exp, "prior parameter's size depends on `%s'");
return CONST0_RTX (mode);