From: rguenth Date: Fri, 16 Mar 2007 09:54:39 +0000 (+0000) Subject: 2007-03-16 Richard Guenther X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3737e7697a058e5803f440108574641648916d51;p=thirdparty%2Fgcc.git 2007-03-16 Richard Guenther * builtins.c (expand_builtin_cexpi): Use the right argument for the expansion via cexp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122982 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f51361b8306..47f05b9c8907 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-03-16 Richard Guenther + + * builtins.c (expand_builtin_cexpi): Use the right argument + for the expansion via cexp. + 2007-03-16 Alexandre Oliva * configure.ac: Don't require ELF binutils to tolerate # 0 "". diff --git a/gcc/builtins.c b/gcc/builtins.c index 1e45ed052714..0bb148907cba 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -2409,7 +2409,7 @@ expand_builtin_cexpi (tree exp, rtx target, rtx subtarget) /* Make sure not to fold the cexp call again. */ call = build1 (ADDR_EXPR, build_pointer_type (TREE_TYPE (fn)), fn); - return expand_expr (build_call_nary (ctype, call, 1, arg), + return expand_expr (build_call_nary (ctype, call, 1, narg), target, VOIDmode, 0); }