diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-09-11 20:15:32 +0200 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-10-08 10:37:15 +0200 |
commit | 9fd38cc5d636124f0611aa5d26ac4258431f164a (patch) | |
tree | cbd3f8c7a8130a225986ae2988b2efe211d98b80 /libcpp/generated_cpp_wcwidth.h | |
parent | 409de30d89310ea6ec24b480528c75cb74f8ef85 (diff) | |
download | gcc-9fd38cc5d636124f0611aa5d26ac4258431f164a.zip gcc-9fd38cc5d636124f0611aa5d26ac4258431f164a.tar.gz gcc-9fd38cc5d636124f0611aa5d26ac4258431f164a.tar.bz2 |
ada: Fix infinite loop on MSP430 with -mlarge flag
This removes the loop trying to find a pointer mode among the integer modes,
which is obsolete and does not work on platforms where pointers have unusual
size like MSP430 or special semantics like Morello.
gcc/ada/ChangeLog:
PR ada/116498
* gcc-interface/decl.cc (validate_size): Use the size of the default
pointer mode as the minimum size for access types and fat pointers.
Diffstat (limited to 'libcpp/generated_cpp_wcwidth.h')
0 files changed, 0 insertions, 0 deletions