aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2020-09-28 09:00:46 +0200
committerEric Botcazou <ebotcazou@adacore.com>2020-09-28 09:32:27 +0200
commit88795e14ae7143bd8039af68d2d876ae34568799 (patch)
treef4d3f7ff26499adab0ec12d3f1330f864ac2d704 /gcc/rtl.c
parentdabef758bfe23d847cb1e2de2d0c0a67a53dc56a (diff)
downloadgcc-88795e14ae7143bd8039af68d2d876ae34568799.zip
gcc-88795e14ae7143bd8039af68d2d876ae34568799.tar.gz
gcc-88795e14ae7143bd8039af68d2d876ae34568799.tar.bz2
Fix bogus alignment warning on address clause
The compiler gives a bogus alignment warning on an address clause and a discriminated record type with variable size. gcc/ada/ChangeLog: * gcc-interface/decl.c (maybe_saturate_size): Add ALIGN parameter and round down the result to ALIGN. (gnat_to_gnu_entity): Adjust calls to maybe_saturate_size. gcc/testsuite/ChangeLog: * gnat.dg/addr16.adb: New test. * gnat.dg/addr16_pkg.ads: New helper.
Diffstat (limited to 'gcc/rtl.c')
0 files changed, 0 insertions, 0 deletions