[PATCH] c++: fix string literal member initializer bug [PR90926]

2020-12-17 Thread Thomas Greenslade (thomgree) via Gcc-patches
build_aggr_conv did not correctly handle string literal member initializers. Extended can_convert_array to handle this case. The additional checks of compatibility of character types, and whether string literal will fit, would be quite complicated, so are deferred until the actual conversion takes

ping [PATCH] c++: fix string literal member initializer bug [PR90926]

2021-01-21 Thread Tom Greenslade (thomgree) via Gcc-patches
Ping for this patch: https://gcc.gnu.org/pipermail/gcc-patches/2020-December/562259.html -Original Message- From: Thomas Greenslade (thomgree) Sent: 17 December 2020 22:12 To: gcc-patches@gcc.gnu.org Subject: [PATCH] c++: fix string literal member initializer bug [PR90926

Re: [PATCH] c++: fix string literal member initializer bug [PR90926]

2021-01-22 Thread Jason Merrill via Gcc-patches
On 12/17/20 5:12 PM, Thomas Greenslade (thomgree) via Gcc-patches wrote: build_aggr_conv did not correctly handle string literal member initializers. Extended can_convert_array to handle this case. The additional checks of compatibility of character types, and whether string literal will fit, wou

RE: [PATCH] c++: fix string literal member initializer bug [PR90926]

2021-01-28 Thread Tom Greenslade (thomgree) via Gcc-patches
this a known bug or a new one? -Original Message- From: Jason Merrill Sent: 22 January 2021 16:30 To: Tom Greenslade (thomgree) ; gcc-patches@gcc.gnu.org Subject: Re: [PATCH] c++: fix string literal member initializer bug [PR90926] On 12/17/20 5:12 PM, Thomas Greenslade (t

Re: [PATCH] c++: fix string literal member initializer bug [PR90926]

2021-01-28 Thread Jason Merrill via Gcc-patches
foo"}’ from ‘’ to ‘A’", but works fine on Clang. Is this a known bug or a new one? That looks like the same bug you're fixing with this patch. -Original Message- From: Jason Merrill Sent: 22 January 2021 16:30 To: Tom Greenslade (thomgree) ; gcc-patches@gcc.gnu.org Subject: