diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2022-07-05 11:27:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-05 11:27:40 +0200 |
commit | df076edfe673069decf9e8b0dc5f3b7941796060 (patch) | |
tree | 89faeb06d3756c406425c78b7fc597504ad8dd73 /common | |
parent | e4bba56773fc059e592f72a49b1010f53f3126f0 (diff) | |
download | compcert-df076edfe673069decf9e8b0dc5f3b7941796060.tar.gz compcert-df076edfe673069decf9e8b0dc5f3b7941796060.zip |
Add [#global] qualifier on Hint Rewrite (#439)
Adapt w.r.t. coq/coq#16004.
Diffstat (limited to 'common')
-rw-r--r-- | common/Events.v | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/Events.v b/common/Events.v index 0ada1207..2e076523 100644 --- a/common/Events.v +++ b/common/Events.v @@ -27,6 +27,9 @@ Require Import Memory. Require Import Globalenvs. Require Import Builtins. +(** Backwards compatibility for Hint Rewrite locality attributes. *) +Set Warnings "-unsupported-attributes". + (** * Events and traces *) (** The observable behaviour of programs is stated in terms of @@ -113,6 +116,7 @@ Proof. induction t1; intros; simpl. auto. decEq; auto. Qed. +#[global] Hint Rewrite E0_left E0_right Eapp_assoc E0_left_inf Eappinf_assoc: trace_rewrite. |