This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] convert braced initializers to strings (PR 71625)
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Martin Sebor <msebor at gmail dot com>
- Cc: Jason Merrill <jason at redhat dot com>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 9 Aug 2018 22:06:56 +0000
- Subject: Re: [PATCH] convert braced initializers to strings (PR 71625)
- References: <c9067f6a-9e55-8483-4f4f-c162d4c7a170@gmail.com> <CADzB+2=2Kj=HRLXi1pLx3NGE5XCNRaKjKuG44WeXncCoqrLLdw@mail.gmail.com> <e2bb35fa-7469-df5d-c6e1-fdacbc637155@gmail.com> <CADzB+2kGfD0Qk3wumc0OSsqQtfWUT5yS60T592Sf1Xe=q51Bbg@mail.gmail.com> <e8e7f203-0d7e-7272-a313-33fe93c80b83@gmail.com> <CADzB+2kcuZ2mJHe86wA6PJNo9CWUuRH5+7MoV805ya7_9YjB=w@mail.gmail.com> <b7e6bbd4-b9e8-84ef-8855-d0fc17834a19@gmail.com>
On Wed, 8 Aug 2018, Martin Sebor wrote:
> Done in the attached patch. I've also avoided dealing with
> zero-length arrays and added tests to make sure their size
> stays is regardless of the form of their initializer and
> the appropriate warnings are issued.
The C front-end changes in this patch version are OK.
--
Joseph S. Myers
joseph@codesourcery.com