summaryrefslogtreecommitdiff
path: root/ortho
diff options
context:
space:
mode:
Diffstat (limited to 'ortho')
-rw-r--r--ortho/gcc/ortho-lang.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ortho/gcc/ortho-lang.c b/ortho/gcc/ortho-lang.c
index c024558..613f225 100644
--- a/ortho/gcc/ortho-lang.c
+++ b/ortho/gcc/ortho-lang.c
@@ -1556,6 +1556,7 @@ finish_const_value (tree *cst, tree val)
{
DECL_INITIAL (*cst) = val;
TREE_CONSTANT (val) = 1;
+ TREE_STATIC (*cst) = 1;
rest_of_decl_compilation
(*cst, current_function_decl == NULL_TREE, 0);
}