]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Minor tweak in assertion
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 17 Nov 2022 12:31:33 +0000 (13:31 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 21 Nov 2022 10:10:34 +0000 (11:10 +0100)
commit5947b1ee8af0c8e5a08a20f1f2b9f0b09720d130
tree664861dfdcb9c389c5b7e754413cfb33497c159b
parent24dde337d8bf3f971dd7abc643bb7f1703eaf022
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.
gcc/ada/sem_util.adb