diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-04-14 20:14:07 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2023-04-14 20:17:55 +0200 |
commit | 94a21e008c4778e446321b1355f61abc75a076be (patch) | |
tree | f6a5e7c0b509f7414ebe35b904fa82db04a4c92d /gcc/tree-ssa-loop-prefetch.cc | |
parent | 0d94c6df183375caaa7f672e288a2094ca813749 (diff) | |
download | gcc-94a21e008c4778e446321b1355f61abc75a076be.zip gcc-94a21e008c4778e446321b1355f61abc75a076be.tar.gz gcc-94a21e008c4778e446321b1355f61abc75a076be.tar.bz2 |
Fix build failure of Ada runtime for Aarch64 targets
The Aarch64 back-end now asserts that the main variant of scalar types
has TYPE_USER_ALIGN cleared, and that's not the case for scalar types
declared with a confirming alignment clause in Ada.
gcc/ada/
PR bootstrap/109510
* gcc-interface/decl.cc (gnat_to_gnu_entity) <types>: Reset align
to zero if its value is equal to TYPE_ALIGN and the type is scalar.
Set TYPE_USER_ALIGN on the type only if align is positive.
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.cc')
0 files changed, 0 insertions, 0 deletions