This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] varasm: array_size_for_constructor vs STRING_CST
- To: DJ Delorie <dj at redhat dot com>
- Subject: Re: [patch] varasm: array_size_for_constructor vs STRING_CST
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Fri, 21 Sep 2001 22:13:23 +0100 (BST)
- cc: <gcc-patches at gcc dot gnu dot org>
On Fri, 21 Sep 2001, DJ Delorie wrote:
> This handles this case:
>
> struct {char a; char b[];} x = { 'x', "x" };
Obviously this patch ought to add this testcase to the testsuite then -
or, if it's already there and failing, you should mention which testcase
it is.
--
Joseph S. Myers
jsm28@cam.ac.uk