builtins.c (expand_builtin_cexpi): Use the right argument for the expansion via cexp.

2007-03-16  Richard Guenther  <rguenther@suse.de>

	* builtins.c (expand_builtin_cexpi): Use the right argument
	for the expansion via cexp.

From-SVN: r122982
This commit is contained in:
Richard Guenther 2007-03-16 09:54:39 +00:00 committed by Richard Biener
parent e51333e4d5
commit 4c8a652e3f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-03-16 Richard Guenther <rguenther@suse.de>
* builtins.c (expand_builtin_cexpi): Use the right argument
for the expansion via cexp.
2007-03-16 Alexandre Oliva <aoliva@redhat.com>
* configure.ac: Don't require ELF binutils to tolerate # 0 "".

View File

@ -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);
}