aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cfrontend/Ctypes.v6
-rw-r--r--powerpc/Asmexpand.ml2
2 files changed, 4 insertions, 4 deletions
diff --git a/cfrontend/Ctypes.v b/cfrontend/Ctypes.v
index a555f792..1f55da7f 100644
--- a/cfrontend/Ctypes.v
+++ b/cfrontend/Ctypes.v
@@ -802,13 +802,13 @@ Program Definition composite_of_def
Next Obligation.
apply Zle_ge. eapply Zle_trans. eapply sizeof_composite_pos.
apply align_le; apply alignof_composite_pos.
-Qed.
+Defined.
Next Obligation.
apply align_attr_two_p. apply alignof_composite_two_p.
-Qed.
+Defined.
Next Obligation.
apply align_divides. apply alignof_composite_pos.
-Qed.
+Defined.
(** The composite environment for a program is obtained by entering
its composite definitions in sequence. The definitions are assumed
diff --git a/powerpc/Asmexpand.ml b/powerpc/Asmexpand.ml
index 23704feb..1b9740b9 100644
--- a/powerpc/Asmexpand.ml
+++ b/powerpc/Asmexpand.ml
@@ -441,7 +441,7 @@ let expand_builtin_inline name args res =
emit (Picbi(GPR0,a1))
| "__builtin_dcbtls", [BA (IR a1); BA_int loc],_ ->
if not ((Int.eq loc _0) || (Int.eq loc _2)) then
- raise (Error "the second argument of __builtin_dcbtls must be a constant between 0 and 2");
+ raise (Error "the second argument of __builtin_dcbtls must be 0 or 2");
emit (Pdcbtls (loc,GPR0,a1))
| "__builtin_dcbtls",_,_ ->
raise (Error "the second argument of __builtin_dcbtls must be a constant")