aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2022-11-17 13:31:33 +0100
committerMarc Poulhiès <poulhies@adacore.com>2022-11-21 11:10:34 +0100
commit5947b1ee8af0c8e5a08a20f1f2b9f0b09720d130 (patch)
tree664861dfdcb9c389c5b7e754413cfb33497c159b /libcpp
parent24dde337d8bf3f971dd7abc643bb7f1703eaf022 (diff)
downloadgcc-5947b1ee8af0c8e5a08a20f1f2b9f0b09720d130.zip
gcc-5947b1ee8af0c8e5a08a20f1f2b9f0b09720d130.tar.gz
gcc-5947b1ee8af0c8e5a08a20f1f2b9f0b09720d130.tar.bz2
ada: Minor tweak in assertion
For an array subtype, being definite is the same as being constrained. gcc/ada/ * sem_util.adb (Needs_Secondary_Stack): Test Is_Constrained directly instead of Is_Definite_Subtype for an array subtype.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions