]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cgraphunit.c (process_function_and_variable_attributes): Fix cut'n'pasteo.
authorDave Korn <dave.korn.cygwin@gmail.com>
Tue, 30 Nov 2010 16:52:47 +0000 (16:52 +0000)
committerDave Korn <davek@gcc.gnu.org>
Tue, 30 Nov 2010 16:52:47 +0000 (16:52 +0000)
* cgraphunit.c (process_function_and_variable_attributes): Fix
cut'n'pasteo.

From-SVN: r167302

gcc/ChangeLog
gcc/cgraphunit.c

index cda7a12de903e85bbc26eea07e3d137aee88a9a4..4734707c93e255358186054f8762d21ddf58270f 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-30  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * cgraphunit.c (process_function_and_variable_attributes): Fix
+       cut'n'pasteo.
+
 2010-11-30  Joseph Myers  <joseph@codesourcery.com>
 
        * hwint.c:  New.  Extracted from toplev.c.
index c2bc071e7cda22ca3affa842aeb17568f809bc02..04a69f34d2484b3b2427de752ad7728f3c313c17 100644 (file)
@@ -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);