diff options
author | Richard Guenther <rguenther@suse.de> | 2007-03-16 09:54:39 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-03-16 09:54:39 +0000 |
commit | 4c8a652e3f9bb666e2f85ee8db03f37c921233b5 (patch) | |
tree | 31571ea42f0f7b4634ce3b6e7811331554143ef1 /gcc | |
parent | e51333e4d5e8f5dc621b4f33d8fda151536091fc (diff) | |
download | gcc-4c8a652e3f9bb666e2f85ee8db03f37c921233b5.zip gcc-4c8a652e3f9bb666e2f85ee8db03f37c921233b5.tar.gz gcc-4c8a652e3f9bb666e2f85ee8db03f37c921233b5.tar.bz2 |
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
Diffstat (limited to 'gcc')
-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); } |