From: Richard Stallman Date: Fri, 29 May 1992 18:46:01 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: misc/cutover-egcs-0~12808 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=19deaec9426ca88dcef09d23d18b0e16e07934e8;p=thirdparty%2Fgcc.git *** empty log message *** From-SVN: r1123 --- diff --git a/gcc/expr.c b/gcc/expr.c index fb10833666b2..2f5e680288d3 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -4854,9 +4854,9 @@ expand_builtin (exp, target, subtarget, mode, ignore) break; if (arglist == 0 - /* Arg could be non-integer if user redeclared this fcn wrong. */ + /* Arg could be wrong type if user redeclared this fcn wrong. */ || TREE_CODE (TREE_TYPE (TREE_VALUE (arglist))) != REAL_TYPE) - return const0_rtx; + return CONST0_RTX (TYPE_MODE (TREE_TYPE (exp))); /* Compute the argument. */ op0 = expand_expr (TREE_VALUE (arglist), subtarget, VOIDmode, 0);