diff options
author | Jan Hubicka <jh@suse.cz> | 2006-07-24 02:16:16 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2006-07-24 00:16:16 +0000 |
commit | 386b46cf78f852e82fb1f37ba271858b1f1040b3 (patch) | |
tree | 20047ee6f873662157a0d8d8f27ffbacb9260691 /gcc/cgraph.h | |
parent | 3201e73d96ae8bd6425828a807987f35f1f7bd32 (diff) | |
download | gcc-386b46cf78f852e82fb1f37ba271858b1f1040b3.zip gcc-386b46cf78f852e82fb1f37ba271858b1f1040b3.tar.gz gcc-386b46cf78f852e82fb1f37ba271858b1f1040b3.tar.bz2 |
re PR c/25795 (Proccessing the attribute externally_visible too early)
PR c/25795
PR c++/27369
* cgraph.c (cgraph_varpool_nodes): Export.
(decide_is_variable_needed): Ignored "used" attribute in
unit-at-a-time mode.
* cgraph.h (cgraph_varpool_nodes): Declare.
* cgraphunit.c (decide_is_function_needed): Ignored "used" attribute in
unit-at-a-time mode.
* gcc.dg/pr25795.c: New test.
* gcc.dg/pr25795-1.c: New test.
From-SVN: r115693
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 3a1665f9..31ddfe3 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -249,6 +249,7 @@ extern GTY(()) struct cgraph_node *cgraph_expand_queue; extern GTY(()) struct cgraph_varpool_node *cgraph_varpool_first_unanalyzed_node; extern GTY(()) struct cgraph_varpool_node *cgraph_varpool_nodes_queue; +extern GTY(()) struct cgraph_varpool_node *cgraph_varpool_nodes; extern GTY(()) struct cgraph_asm_node *cgraph_asm_nodes; extern GTY(()) int cgraph_order; |