diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2015-09-15 14:26:42 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2015-09-15 14:26:42 +0200 |
commit | de40fce9c16ced8d23389cbcfc55ef6d99466fe8 (patch) | |
tree | 569187ad4a38e7a8e15d2d151706867a5955db15 /backend/RTLgenproof.v | |
parent | 700e9b41253e04ac3a0a16edfa1f41a2d4084462 (diff) | |
download | compcert-de40fce9c16ced8d23389cbcfc55ef6d99466fe8.tar.gz compcert-de40fce9c16ced8d23389cbcfc55ef6d99466fe8.zip |
Issue with ignoring the result of non-void builtin functions.
In RTL and beyond, the result of a builtin function that has return type different from "void" must be BR, never BR_none. Otherwise, we get compile-time fatal errors, either in Asmexpand or in Lineartyping.
Diffstat (limited to 'backend/RTLgenproof.v')
-rw-r--r-- | backend/RTLgenproof.v | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/RTLgenproof.v b/backend/RTLgenproof.v index 559ab3a2..19f6f1f4 100644 --- a/backend/RTLgenproof.v +++ b/backend/RTLgenproof.v @@ -234,6 +234,7 @@ Proof. intros. inv H1; simpl. - eapply match_env_update_var; eauto. - auto. +- eapply match_env_update_temp; eauto. Qed. (** Matching and [let]-bound variables. *) |