diff options
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 51365eb167f..731a0e91294 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -762,8 +762,7 @@ process_function_and_variable_attributes (struct cgraph_node *first, { tree decl = vnode->symbol.decl; if (DECL_EXTERNAL (decl) - && DECL_INITIAL (decl) - && const_value_known_p (decl)) + && DECL_INITIAL (decl)) varpool_finalize_decl (decl); if (DECL_PRESERVE_P (decl)) vnode->symbol.force_output = true; |