On Tue, Jan 16, 2018 at 03:20:24PM -0700, Martin Sebor wrote: > Thanks for looking at it! I confess it's not completely clear > to me in what type the pass tracks string lengths. For string > constants, get_stridx() returns an int with the their length > bit-flipped. I tried to maintain that invariant in the change
That is because TREE_STRING_LENGTH is an int, so gcc doesn't allow string literals longer than 2GB. All other length are tracked as tree. Jakub