diff options
author | Tamar Christina <tamar.christina@arm.com> | 2021-11-19 08:48:11 +0000 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2021-11-19 08:48:11 +0000 |
commit | 0e510ab53414430e93c6f5b64841e2f40031cda7 (patch) | |
tree | e2f223f686d1c53c613dcaeb0dfbd25485407350 /gcc/tree-loop-distribution.c | |
parent | fb15abdc9b61a0b7fa24a37f85d19dc449cfd5bf (diff) | |
download | gcc-0e510ab53414430e93c6f5b64841e2f40031cda7.zip gcc-0e510ab53414430e93c6f5b64841e2f40031cda7.tar.gz gcc-0e510ab53414430e93c6f5b64841e2f40031cda7.tar.bz2 |
libstdc++: Fix ctype changed after newlib update.
Newlib changed ctype.h recently[1] by moving the short labels from ctype.h intro
the private namespace in ctype_.h. This broke embedded builds due to them no
longer being found. Instead they now expose the long names to match glibc.
This patch now uses the short or long names depending on is the short ones are
defined or not.
[1] https://github.com/bminor/newlib/commit/3ba1bd0d9dbc015c14a0aaafcef042f706d1249a
libstdc++-v3/ChangeLog:
PR libstdc++/103305
* config/os/newlib/ctype_base.h (upper, lower, alpha, digit, xdigit,
space, print, graph, cntrl, punct, alnum, blank): Use short or long
names depending on if short ones are defined.
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions