This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/526
- To: nobody at gcc dot gnu dot org
- Subject: Re: c/526
- From: bje at gcc dot gnu dot org
- Date: 24 Dec 2000 08:06:01 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: bje at gcc dot gnu dot org
The following reply was made to PR c/526; it has been noted by GNATS.
From: bje@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org, meixner@rbg.informatik.tu-darmstadt.de,
nobody@gcc.gnu.org
Cc:
Subject: Re: c/526
Date: 24 Dec 2000 08:01:48 -0000
Synopsis: incorrect initialization of array
State-Changed-From-To: open->feedback
State-Changed-By: bje
State-Changed-When: Sun Dec 24 00:01:48 2000
State-Changed-Why:
The semantics of this array initialisation are that the string
must be NULL-terminated (as it is). The ANSI standard says that
any remaining characters beyond the NULL are left unmodified.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=526&database=gcc