diff options
Diffstat (limited to 'cfrontend/C2C.ml')
-rw-r--r-- | cfrontend/C2C.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cfrontend/C2C.ml b/cfrontend/C2C.ml index bdddd14a..9340cc50 100644 --- a/cfrontend/C2C.ml +++ b/cfrontend/C2C.ml @@ -491,7 +491,7 @@ let rec convertExpr env e = if is_volatile_access env e1 then Ecall(volatile_write_fun (typeof e1'), Econs(Eaddrof(e1', Tpointer(typeof e1')), Econs(e2', Enil)), - Tvoid) (* typing issue here *) + Tvoid) (* SimplVolatile guarantees that ret. value is unused *) else Eassign(e1', e2', ty) | C.EBinop((C.Oadd_assign|C.Osub_assign|C.Omul_assign|C.Odiv_assign| |