aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/java
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2026-02-09 00:14:49 +0100
committerEric Botcazou <ebotcazou@adacore.com>2026-02-09 00:58:57 +0100
commit313ac5c049d6aacf1671f4409a7d4cd25eeee651 (patch)
treed7e0e5b64b30bcb7f185f9eb6efbfff42dcd2d9b /libjava/gnu/java
parentdf7f52b3a4ca00b64baf31c57c506fe3afe51c9f (diff)
downloadgcc-313ac5c049d6aacf1671f4409a7d4cd25eeee651.zip
gcc-313ac5c049d6aacf1671f4409a7d4cd25eeee651.tar.gz
gcc-313ac5c049d6aacf1671f4409a7d4cd25eeee651.tar.bz2
Ada: Fix too small component size for fixed-point array incorrectly accepted
This plugs a loophole in the validation of component size aspects/clauses specified for array types, by copying what is done for record types. gcc/ada/ PR ada/121576 * freeze.adb (Freeze_Array_Type): When the component size is specified, check that it is valid when the component type is either a fixed-point type or a bit-packed array type. gcc/testsuite/ * gnat.dg/specs/component_size1.ads: New test. Co-authored-by: Liam Powell <liam@liampwll.com>
Diffstat (limited to 'libjava/gnu/java')
0 files changed, 0 insertions, 0 deletions