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:
6df6055
)
[Ada] Consistently use Validated_View for Valid_Scalars on records
author
Piotr Trojanek
<trojanek@adacore.com>
Wed, 7 Apr 2021 08:16:55 +0000
(10:16 +0200)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Tue, 29 Jun 2021 14:23:45 +0000
(14:23 +0000)
gcc/ada/
* exp_attr.adb (Expand_N_Attribute_Reference): Explicitly use
Validated_View for record objects.
gcc/ada/exp_attr.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/exp_attr.adb
b/gcc/ada/exp_attr.adb
index
400398d
..
d19ae1f
100644
(file)
--- a/
gcc/ada/exp_attr.adb
+++ b/
gcc/ada/exp_attr.adb
@@
-7460,7
+7460,7
@@
package body Exp_Attr is
(Build_Record_VS_Func
(Attr => N,
Formal_Typ => Ptyp,
- Rec_Typ => Val
_Typ
),
+ Rec_Typ => Val
idated_View (Ptyp)
),
Loc),
Parameter_Associations => New_List (Pref));
end if;