projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7738270
)
Code clean up.
author
Arnaud Charlet
<charlet@gcc.gnu.org>
Tue, 25 Apr 2017 12:39:28 +0000
(14:39 +0200)
committer
Arnaud Charlet
<charlet@gcc.gnu.org>
Tue, 25 Apr 2017 12:39:28 +0000
(14:39 +0200)
From-SVN: r247213
gcc/ada/contracts.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/contracts.adb
b/gcc/ada/contracts.adb
index eb6443b8d56d977368fc43d55b8ea0737c7f2d96..587a0b8513dd547bcc514d9cd402e233ba8dc1f4 100644
(file)
--- a/
gcc/ada/contracts.adb
+++ b/
gcc/ada/contracts.adb
@@
-878,12
+878,6
@@
package body Contracts is
then
Error_Msg_N
("discriminated object & cannot be volatile", Obj_Id);
-
- -- An object of a tagged type cannot be effectively volatile
- -- (SPARK RM C.6(5)).
-
- elsif Is_Tagged_Type (Obj_Typ) then
- Error_Msg_N ("tagged object & cannot be volatile", Obj_Id);
end if;
-- The object is not effectively volatile