From: Dave Korn Date: Tue, 30 Nov 2010 16:52:47 +0000 (+0000) Subject: cgraphunit.c (process_function_and_variable_attributes): Fix cut'n'pasteo. X-Git-Tag: releases/gcc-4.6.0~2234 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9659ff6e7234fba71eb7a44ee21410a1cf3fcda3;p=thirdparty%2Fgcc.git cgraphunit.c (process_function_and_variable_attributes): Fix cut'n'pasteo. * cgraphunit.c (process_function_and_variable_attributes): Fix cut'n'pasteo. From-SVN: r167302 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cda7a12de903..4734707c93e2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-11-30 Dave Korn + + * cgraphunit.c (process_function_and_variable_attributes): Fix + cut'n'pasteo. + 2010-11-30 Joseph Myers * hwint.c: New. Extracted from toplev.c. diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index c2bc071e7cda..04a69f34d248 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -844,7 +844,7 @@ process_function_and_variable_attributes (struct cgraph_node *first, } if (TARGET_DLLIMPORT_DECL_ATTRIBUTES && lookup_attribute ("dllexport", DECL_ATTRIBUTES (decl)) - && TREE_PUBLIC (node->decl)) + && TREE_PUBLIC (vnode->decl)) { if (vnode->finalized) varpool_mark_needed_node (vnode);