projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cfde7a
)
[Ada] Fix classification of Subprogram_Variant as assertion pragma
author
Yannick Moy
<moy@adacore.com>
Mon, 9 May 2022 10:49:41 +0000
(12:49 +0200)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Wed, 1 Jun 2022 08:43:20 +0000
(08:43 +0000)
This pragma was wrongly not recognized as an assertion pragma. Now
fixed.
gcc/ada/
* sem_prag.ads (Assertion_Expression_Pragmas): Fix value for
pragma Subprogram_Variant.
gcc/ada/sem_prag.ads
patch
|
blob
|
history
diff --git
a/gcc/ada/sem_prag.ads
b/gcc/ada/sem_prag.ads
index
44590ac
..
0a1ad5b
100644
(file)
--- a/
gcc/ada/sem_prag.ads
+++ b/
gcc/ada/sem_prag.ads
@@
-149,6
+149,7
@@
package Sem_Prag is
Pragma_Precondition => True,
Pragma_Predicate => True,
Pragma_Refined_Post => True,
+ Pragma_Subprogram_Variant => True,
Pragma_Test_Case => True,
Pragma_Type_Invariant => True,
Pragma_Type_Invariant_Class => True,