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:
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
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