On 08/09/2018 12:17 PM, Martin Sebor wrote:
Using build_string() rather than build_string_literal() needed
a tweak in digest_init_r(). It didn't break anything but since
the array type may not have a domain yet, neither will the
string. It looks like that may get adjusted later on but I've
temporarily guarded the code with #if 1. If the change is
fine I'll remove the #if before committing.
The digest_init_r change seems to follow from allowing STRING_CST of
signed char, so yes, it's fine.
+ && TREE_CODE (init) == CONSTRUCTOR
+ && TREE_TYPE (init) == init_list_type_node)
This is BRACE_ENCLOSED_INITIALIZER_P.
OK with that change.
Jason