diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2023-10-03 21:28:16 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-11-07 10:15:02 +0100 |
commit | 9eb5deb42b1dffe030d447913191a615bba90284 (patch) | |
tree | c885b956cfad0c94341334e7437c66c8da834607 /libcpp | |
parent | 68040a6947971937bfaec08d8e4a229ceb5d7571 (diff) | |
download | gcc-9eb5deb42b1dffe030d447913191a615bba90284.zip gcc-9eb5deb42b1dffe030d447913191a615bba90284.tar.gz gcc-9eb5deb42b1dffe030d447913191a615bba90284.tar.bz2 |
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.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions