diff options
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/builtins.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b9b9eae..02b3ce7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/builtins.c b/gcc/builtins.c index ebdbb69..c4200c2 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -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); |