diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2020-05-30 11:56:38 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-07-15 09:42:42 -0400 |
commit | 9fdf1cebafc95c86c0cf321ce415148366f35225 (patch) | |
tree | 52876d4ad1db7283d071812dc3b1d870cd10ad46 /libvtv | |
parent | 98e663f5979ad0686d7ed79a3c8ff7445f5fab18 (diff) | |
download | gcc-9fdf1cebafc95c86c0cf321ce415148366f35225.zip gcc-9fdf1cebafc95c86c0cf321ce415148366f35225.tar.gz gcc-9fdf1cebafc95c86c0cf321ce415148366f35225.tar.bz2 |
[Ada] Fix slices and qualified expressions being effectively volatile
gcc/ada/
* exp_ch5.adb (Expand_Assign_Array): Use short-circuit operator
(style).
* sem_res.adb (Resolve_Indexed_Component): Fix style in comment.
* sem_util.adb (Is_Effectively_Volatile_Object): Handle slices
just like indexed components; handle qualified expressions and
type conversions lie in Is_OK_Volatile_Context.
(Is_OK_Volatile_Context): Handle qualified expressions just like
type conversions.
Diffstat (limited to 'libvtv')
0 files changed, 0 insertions, 0 deletions