aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Cleanup.ml
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-02-24 16:16:51 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-02-24 16:16:51 +0100
commit26d2601818c387a540a7d89aec1363981f601b7e (patch)
tree1dcaf9c6a44176e2a9753df6c0cbe452b7b97424 /cparser/Cleanup.ml
parent9d4d852eb960926453f216722f629d3c8dc9cf13 (diff)
downloadcompcert-kvx-26d2601818c387a540a7d89aec1363981f601b7e.tar.gz
compcert-kvx-26d2601818c387a540a7d89aec1363981f601b7e.zip
seems to process _Thread_local but not till backend
Diffstat (limited to 'cparser/Cleanup.ml')
-rw-r--r--cparser/Cleanup.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Cleanup.ml b/cparser/Cleanup.ml
index b15e150c..9f19395a 100644
--- a/cparser/Cleanup.ml
+++ b/cparser/Cleanup.ml
@@ -126,7 +126,7 @@ let add_enum e =
*)
let visible_decl (sto, id, ty, init) =
- sto = Storage_default &&
+ (sto = Storage_default || sto = Storage_thread_local) &&
match ty with TFun _ -> false | _ -> true
let visible_fundef f =