aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-array-bounds.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2022-06-07 21:46:04 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2022-07-06 13:29:49 +0000
commit1141fbd71ea1782c6eac750cfed809f0706aaafc (patch)
tree45caefd943d0502d4ab25014c1459a99b77d19cc /gcc/gimple-array-bounds.cc
parent40242ebb71ed7a03ab23349a893afe6140c512d1 (diff)
downloadgcc-1141fbd71ea1782c6eac750cfed809f0706aaafc.zip
gcc-1141fbd71ea1782c6eac750cfed809f0706aaafc.tar.gz
gcc-1141fbd71ea1782c6eac750cfed809f0706aaafc.tar.bz2
[Ada] Improve code generated for aggregates of VFA type
This avoids using a full access for constants internally generated from assignments of aggregates with a Volatile_Full_Access type. gcc/ada/ * gcc-interface/gigi.h (simple_constant_p): Declare. * gcc-interface/decl.cc (gnat_to_gnu_entity) <E_Variable>: Strip the qualifiers from the type of a simple constant. (simple_constant_p): New predicate. * gcc-interface/trans.cc (node_is_atomic): Return true for objects with atomic type except for simple constants. (node_is_volatile_full_access): Return false for simple constants with VFA type.
Diffstat (limited to 'gcc/gimple-array-bounds.cc')
0 files changed, 0 insertions, 0 deletions