ada: Simplify handling of known values in expansion of packed arrays
commit9eb5deb42b1dffe030d447913191a615bba90284
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 3 Oct 2023 19:28:16 +0000 (3 21:28 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 7 Nov 2023 09:15:02 +0000 (7 10:15 +0100)
treec885b956cfad0c94341334e7437c66c8da834607
parent68040a6947971937bfaec08d8e4a229ceb5d7571
ada: Simplify handling of known values in expansion of packed arrays

If an expression value is not known at compile time, it can be
represented with No_Uint and doesn't require a dedicated flag.

Code cleanup; behavior is unaffected.

gcc/ada/

* exp_pakd.adb (Expand_Bit_Packed_Element_Set): Remove Rhs_Val_Known;
represent unknown value by assigning Rhs_Val with No_Uint.
gcc/ada/exp_pakd.adb