From: Jason Merrill Date: Wed, 22 Mar 2006 05:08:48 +0000 (-0500) Subject: * builtins.c (expand_builtin_fork_or_exec): Fix pasto. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac382b62f1e24481216e7cd58aa57633f99154dd;p=gcc.git * builtins.c (expand_builtin_fork_or_exec): Fix pasto. From-SVN: r112275 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b9b9eae926a..02b3ce744ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2006-03-21 Jason Merrill + * 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 ebdbb695296..c4200c236f6 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);