diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2020-06-15 19:20:15 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2020-06-15 19:22:52 +0200 |
commit | 070babeff47562a72d6a58dd70fc7ac1bcbf205c (patch) | |
tree | b296827edf1d1ba5225bc73c1d955a8f23c09eef /MenhirLib/Main.v | |
parent | 5e29f8b5ba9582ecf2a1d0baeaef195873640607 (diff) | |
download | compcert-070babeff47562a72d6a58dd70fc7ac1bcbf205c.tar.gz compcert-070babeff47562a72d6a58dd70fc7ac1bcbf205c.zip |
SimplExpr: better translation of casts in a "for effects" context
This is useful for statements such as `(void) expr;` where we would
prefer not to explicitly compute intermediate values of type `void`
and store them in Clight temporary variables.
See issue #361 for a real-world occurrence of this phenomenon.
Diffstat (limited to 'MenhirLib/Main.v')
0 files changed, 0 insertions, 0 deletions