diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2015-01-22 19:26:05 +0100 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2015-01-22 19:26:05 +0100 |
commit | 1e97bb4f6297b6fa7949684e522a592aab754d99 (patch) | |
tree | 1273d3699c14c586b36173ff86bf04f516aae940 /cfrontend/SimplExprspec.v | |
parent | fe7da33a1992c3023a2e7e3f36c532ad10e3f236 (diff) | |
download | compcert-1e97bb4f6297b6fa7949684e522a592aab754d99.tar.gz compcert-1e97bb4f6297b6fa7949684e522a592aab754d99.zip |
Delay reads from !Machine.config before it is properly initialized.
Several definitions in Cutil and elsewhere were accessing the default
value of !Machine.config, before it is properly initialized in Driver.
Delay evaluation of these definitions, and initialize Machine.config
to nonsensical values so that lack of initialization is caught early
(e.g. in Cutil.find_matching_*_kind).
Also, following up on commit [3b8a094], don't use "wchar_t" typedef
to type wide string literals, even if this typedef is in scope.
The risk here is to hide an inconsistency between "wchar_t"'s definition
in standard headers and CompCert's built-in definition.
Diffstat (limited to 'cfrontend/SimplExprspec.v')
0 files changed, 0 insertions, 0 deletions