]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/87476
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Nov 2018 08:50:53 +0000 (08:50 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Nov 2018 08:50:53 +0000 (08:50 +0000)
commit04a73995e2c8e1f73234a220d0037427c762362f
treef2dd567f03518922286d256ea88871441e72ba25
parentbc03033c8dabda50608b21ebd865542ef793b173
PR c++/87476
* typeck2.c (digest_init_r): Re-add handing of signed/unsigned char
strings and add it to the initialization of wide array from non-wide
string diagnostics too.

* g++.dg/cpp0x/pr87476-1.C: New test.
* g++.dg/cpp0x/pr87476-2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266547 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr87476-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/pr87476-2.C [new file with mode: 0644]