aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphunit.c
diff options
context:
space:
mode:
authorDave Korn <dave.korn.cygwin@gmail.com>2010-11-30 16:52:47 +0000
committerDave Korn <davek@gcc.gnu.org>2010-11-30 16:52:47 +0000
commit9659ff6e7234fba71eb7a44ee21410a1cf3fcda3 (patch)
treecf236cb32d6e4f6476e659fdada8387703e4c22b /gcc/cgraphunit.c
parentc59ffc4195b245eecb574418f13f27b1f13d654e (diff)
downloadgcc-9659ff6e7234fba71eb7a44ee21410a1cf3fcda3.zip
gcc-9659ff6e7234fba71eb7a44ee21410a1cf3fcda3.tar.gz
gcc-9659ff6e7234fba71eb7a44ee21410a1cf3fcda3.tar.bz2
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
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r--gcc/cgraphunit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c
index c2bc071..04a69f3 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);