From 71f3ecc437f3147e7cf3490f14a78901cb344dc8 Mon Sep 17 00:00:00 2001 From: xleroy Date: Fri, 8 Sep 2006 16:44:49 +0000 Subject: Traiter les initialisations x = NULL git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@89 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- caml/Cil2Csyntax.ml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'caml/Cil2Csyntax.ml') diff --git a/caml/Cil2Csyntax.ml b/caml/Cil2Csyntax.ml index eb9252e6..779929cf 100644 --- a/caml/Cil2Csyntax.ml +++ b/caml/Cil2Csyntax.ml @@ -711,6 +711,8 @@ let rec extract_constant e = ICfloat(n, sz) | ICint(n, _), Tfloat sz -> ICfloat(Int64.to_float n, sz) + | ICint(n, sz), Tpointer _ -> + ICint(n, sz) | _, _ -> ICnone end -- cgit