summaryrefslogtreecommitdiff
path: root/ortho
diff options
context:
space:
mode:
authorgingold2005-12-10 17:11:30 +0000
committergingold2005-12-10 17:11:30 +0000
commit4339f4ca9ed9fe2c58d390e7738a5d2ee7d43545 (patch)
tree8b49a281d46328ce06b5f45d8dea275f36feec55 /ortho
parent1716b52525c5b6baaba7e0a16d6d9dbf6633ac6d (diff)
downloadghdl-4339f4ca9ed9fe2c58d390e7738a5d2ee7d43545.tar.gz
ghdl-4339f4ca9ed9fe2c58d390e7738a5d2ee7d43545.tar.bz2
ghdl-4339f4ca9ed9fe2c58d390e7738a5d2ee7d43545.zip
bug fixes
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);
}