aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-11-19 19:14:53 +0100
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-12-13 09:36:03 +0100
commita72d2abbfc10e4d9620b17ffc41bdbcb98bff100 (patch)
tree395d5faa194a1dc9294dba1e71bb3cd463cac6ae /gcc/ada/gcc-interface/utils.cc
parentb1b7e36153bbe8ff695a66950b7f6cbb273a7356 (diff)
downloadgcc-a72d2abbfc10e4d9620b17ffc41bdbcb98bff100.zip
gcc-a72d2abbfc10e4d9620b17ffc41bdbcb98bff100.tar.gz
gcc-a72d2abbfc10e4d9620b17ffc41bdbcb98bff100.tar.bz2
ada: Fix internal error on packed record with 0-size component
The problem is that the order of components listed in a constant CONSTRUCTOR does not match that of the associated record type. gcc/ada/ChangeLog: * gcc-interface/utils2.cc (compare_elmt_bitpos): Deal specially with 0-sized components when the bit position is the same.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.cc')
0 files changed, 0 insertions, 0 deletions