Re: [PATCHv2] Handle overlength strings in C++ FE

2018-08-30 Thread Jason Merrill
On Thu, Aug 30, 2018 at 2:55 AM, Bernd Edlinger wrote: > On 08/30/18 00:17, Jason Merrill wrote: >> On Fri, Aug 24, 2018 at 4:02 PM, Bernd Edlinger >> wrote: >>> Hi! >>> >>> >>> This is an alternative approach to handle overlength strings in the C++ FE. >>> >>> The difference to the previous vers

Re: [PATCHv2] Handle overlength strings in C++ FE

2018-08-29 Thread Bernd Edlinger
On 08/30/18 00:17, Jason Merrill wrote: > On Fri, Aug 24, 2018 at 4:02 PM, Bernd Edlinger > wrote: >> Hi! >> >> >> This is an alternative approach to handle overlength strings in the C++ FE. >> >> The difference to the previous version is that overlength >> STRING_CST never have a longer TREE_STRI

Re: [PATCHv2] Handle overlength strings in C++ FE

2018-08-29 Thread Jason Merrill
On Fri, Aug 24, 2018 at 4:02 PM, Bernd Edlinger wrote: > Hi! > > > This is an alternative approach to handle overlength strings in the C++ FE. > > The difference to the previous version is that overlength > STRING_CST never have a longer TREE_STRING_LENGTH than the TYPE_DOMAIN. > And those STRING_

[PATCHv2] Handle overlength strings in C++ FE

2018-08-24 Thread Bernd Edlinger
Hi! This is an alternative approach to handle overlength strings in the C++ FE. The difference to the previous version is that overlength STRING_CST never have a longer TREE_STRING_LENGTH than the TYPE_DOMAIN. And those STRING_CSTs are thus no longer zero terminated. Bootstrapped and reg-tested