From f1ceca440c0322001abe6c5de79bd4bc309fc002 Mon Sep 17 00:00:00 2001 From: xleroy Date: Tue, 12 Feb 2013 15:17:33 +0000 Subject: Updated PowerPC port to new integers. Added options -falign-branch-targets and -falign-cond-branches (experimental). git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2113 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- common/Switch.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/Switch.v b/common/Switch.v index 1b3ca9b..0ba6186 100644 --- a/common/Switch.v +++ b/common/Switch.v @@ -250,7 +250,7 @@ Proof. rewrite Int.sub_add_opp. rewrite Int.add_permut. rewrite Int.add_assoc. replace (Int.add Int.one (Int.neg Int.one)) with Int.zero. rewrite Int.add_zero. apply Int.add_commut. - apply Int.mkint_eq. reflexivity. + rewrite Int.add_neg_zero; auto. Qed. Lemma validate_jumptable_correct: -- cgit v1.2.3