diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2012-06-09 08:49:06 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2012-06-09 08:49:06 +0000 |
commit | f3250c32ff42ae18fd03a5311c1f0caec3415aba (patch) | |
tree | b37da52bcf8015c4b29bb8387c30727e2b4de824 /Changelog | |
parent | 326d33e5b0f9dc0d3ccf6d75c62fedbc3ca085e5 (diff) |
Make min_int / -1 and min_int % -1 semantically undefined
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1919 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'Changelog')
-rw-r--r-- | Changelog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ + +- In accordance with ISO C standards, the signed division min_int / -1 + and the signed remainder min_int % -1 (where min_int is the smallest + representable signed integer) now have undefined semantics and are + treated as "going wrong" behaviors. + (Previously, they were defined with results min_int and 0 respectively, + but this behavior requires unnatural code to be generated on IA32 and + PowerPC.) + Release 1.10, 2012-03-13 ======================== |