]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
builtins.c (expand_builtin_cexpi): Use the right argument for the expansion via cexp.
authorRichard Guenther <rguenther@suse.de>
Fri, 16 Mar 2007 09:54:39 +0000 (09:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 16 Mar 2007 09:54:39 +0000 (09:54 +0000)
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

gcc/ChangeLog
gcc/builtins.c

index 6f51361b83068b61f8951b36cacd8ecd560d2270..47f05b9c89073f56b67449ebf8096701e0600cc3 100644 (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 "".
index 1e45ed0527145e9d8370e2b57664c8d8a55f55fc..0bb148907cbabfa8d3e5fbc70049ebd173cff957 100644 (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);
     }