aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSE
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2016-02-29 15:43:07 +0100
committerXavier Leroy <xavier.leroy@inria.fr>2016-02-29 15:43:07 +0100
commitf36085613562e0b08945e9103e00fbc5908ae0da (patch)
tree50c96371b2f551c66e85e659a0b460f1cf217ad4 /LICENSE
parent4afa3167a76c5cf69e04fa5faae45824158d08bc (diff)
downloadcompcert-f36085613562e0b08945e9103e00fbc5908ae0da.tar.gz
compcert-f36085613562e0b08945e9103e00fbc5908ae0da.zip
Relaxing the semantics of pointer arithmetic.
Support <pointer> +/- <integer> where the pointer value is actually an integer (Vint) that has been converted to pointer type. Such arithmetic, while not defined in ISO C, appears in the wild. If present in static initializers, it used to cause a compile-time failure ("not a compile-time constant"). Hence this relaxation.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions