diff options
Diffstat (limited to 'gcc/cp/module.cc')
-rw-r--r-- | gcc/cp/module.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/module.cc b/gcc/cp/module.cc index f5df9e8..65b37b4 100644 --- a/gcc/cp/module.cc +++ b/gcc/cp/module.cc @@ -11829,7 +11829,7 @@ has_definition (tree decl) since there's no TU to emit them in otherwise. */ return true; - if (!TREE_CONSTANT (decl)) + if (!decl_maybe_constant_var_p (decl)) return false; return true; |