aboutsummaryrefslogtreecommitdiffstats
path: root/cparser
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-09-08 16:50:23 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-09-08 16:50:23 +0000
commitc9acadca7c8d5d29dd57b9acba99369067f93ae1 (patch)
tree9041580ba55ec85af830d61c0b566b0432df0319 /cparser
parent28c04de64220be15c589c4dbe1662b212b6d25b1 (diff)
downloadcompcert-c9acadca7c8d5d29dd57b9acba99369067f93ae1.tar.gz
compcert-c9acadca7c8d5d29dd57b9acba99369067f93ae1.zip
Updates for IA32-Cygwin.
cparser/Elab.ml: tolerate changes in qualifiers in ?: cfrontend/C2C.ml: revise info attached to atoms; treat inline functions as static. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1506 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'cparser')
-rw-r--r--cparser/Elab.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Elab.ml b/cparser/Elab.ml
index 2ae7c7e9..b79aa10b 100644
--- a/cparser/Elab.ml
+++ b/cparser/Elab.ml
@@ -1021,7 +1021,7 @@ let elab_expr loc env a =
| TInt _, TPtr(ty2, a2) when is_literal_0 b2 ->
{ edesc = EConditional(b1, nullconst, b3); etyp = TPtr(ty2, a2) }
| ty1, ty2 ->
- match combine_types env ty1 ty2 with
+ match combine_types ~noattrs:true env ty1 ty2 with
| None ->
error ("the second and third arguments of '? :' have incompatible types")
| Some tyres ->