aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.cc
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2022-08-24 16:31:11 -0400
committerJason Merrill <jason@redhat.com>2022-09-01 08:33:46 -0400
commitc5699dd82aa053a8597a69f3331f11aff3e2823d (patch)
treedaccdb73056af2cc89492fbc634516371479807e /gcc/value-range.cc
parent0550e306d4b5aaf7bdb6e908d265dbaa63344271 (diff)
downloadgcc-c5699dd82aa053a8597a69f3331f11aff3e2823d.zip
gcc-c5699dd82aa053a8597a69f3331f11aff3e2823d.tar.gz
gcc-c5699dd82aa053a8597a69f3331f11aff3e2823d.tar.bz2
c++: set TYPE_STRING_FLAG for char8_t
While looking at the DWARF handling of char8_t I wondered why we weren't setting TREE_STRING_FLAG on it. I hoped that setting that flag would be an easy fix for PR102958, but it doesn't seem to be sufficicent. But it still seems correct. I also tried setting the flag on char16_t and char32_t, but that broke because braced_list_to_string assumes char-sized elements. Since we don't set the flag on wchar_t, I abandoned that idea. gcc/c-family/ChangeLog: * c-common.cc (c_common_nodes_and_builtins): Set TREE_STRING_FLAG on char8_t. (braced_list_to_string): Check for char-sized elements.
Diffstat (limited to 'gcc/value-range.cc')
0 files changed, 0 insertions, 0 deletions