aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppdefault.h
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2025-03-17 12:57:26 +0100
committerEric Botcazou <ebotcazou@adacore.com>2025-06-09 10:23:34 +0200
commit2fd267be72dfb0dbaa422c21888a40e69173defa (patch)
tree49d7ca7716d3069a68026ecd33324fb6984e1f2a /gcc/cppdefault.h
parentf59c4d4a6a30c655afb53236eee2bda9e2d2cbb2 (diff)
downloadgcc-2fd267be72dfb0dbaa422c21888a40e69173defa.zip
gcc-2fd267be72dfb0dbaa422c21888a40e69173defa.tar.gz
gcc-2fd267be72dfb0dbaa422c21888a40e69173defa.tar.bz2
ada: Fix glitch in handling of Atomic_Components on generic formal type
In Ada 2022 aspects Atomic_Components and Volatile_Components can be specified for a formal array type, but then they need to be set on the base type entity. Otherwise we get an assertion failure in debug build and wrong legality errors in production builds. gcc/ada/ChangeLog: * sem_prag.adb (Analyze_Pragma): If pragmas apply to a formal array type, then set the flags on the base type.
Diffstat (limited to 'gcc/cppdefault.h')
0 files changed, 0 insertions, 0 deletions