diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-02-24 16:16:51 +0100 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-02-24 16:16:51 +0100 |
commit | 26d2601818c387a540a7d89aec1363981f601b7e (patch) | |
tree | 1dcaf9c6a44176e2a9753df6c0cbe452b7b97424 /cparser/Cleanup.ml | |
parent | 9d4d852eb960926453f216722f629d3c8dc9cf13 (diff) | |
download | compcert-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.ml | 2 |
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 = |