diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/builtins.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f51361..47f05b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 "". diff --git a/gcc/builtins.c b/gcc/builtins.c index 1e45ed0..0bb1489 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); } |