* builtins.c (expand_builtin_fork_or_exec): Fix pasto.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Mar 2006 05:08:48 +0000 (05:08 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Mar 2006 05:08:48 +0000 (05:08 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112275 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/builtins.c

index b9b9eae..02b3ce7 100644 (file)
@@ -1,5 +1,7 @@
 2006-03-21  Jason Merrill  <jason@redhat.com>
 
+       * builtins.c (expand_builtin_fork_or_exec): Fix pasto.
+
        PR middle-end/20297
        * expr.c (init_block_move_fn): Force default visibility.
        (init_block_clear_fn): Likewise.
index ebdbb69..c4200c2 100644 (file)
@@ -5381,8 +5381,8 @@ expand_builtin_fork_or_exec (tree fn, tree arglist, rtx target, int ignore)
   TREE_PUBLIC (decl) = 1;
   DECL_ARTIFICIAL (decl) = 1;
   TREE_NOTHROW (decl) = 1;
-  DECL_VISIBILITY (fn) = VISIBILITY_DEFAULT;
-  DECL_VISIBILITY_SPECIFIED (fn) = 1;
+  DECL_VISIBILITY (decl) = VISIBILITY_DEFAULT;
+  DECL_VISIBILITY_SPECIFIED (decl) = 1;
   call = build_function_call_expr (decl, arglist);
 
   return expand_call (call, target, ignore);