From 9659ff6e7234fba71eb7a44ee21410a1cf3fcda3 Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Tue, 30 Nov 2010 16:52:47 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/cgraphunit.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); -- 2.47.2