This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
preprocessor/8055
- From: zack at gcc dot gnu dot org
- To: zack at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 28 Sep 2002 00:36:01 -0000
- Subject: preprocessor/8055
- Reply-to: zack at gcc dot gnu dot org
The following reply was made to PR preprocessor/8055; it has been noted by GNATS.
From: zack@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: preprocessor/8055
Date: 28 Sep 2002 00:30:38 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: zack@gcc.gnu.org 2002-09-27 17:30:38
Modified files:
gcc : ChangeLog cppmacro.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg/cpp: 20020927-1.c
Log message:
2002-09-27 Alexander N. Kabaev <ak03@gte.com>
PR preprocessor/8055
* cppmacro.c (stringify_arg): Do not overflow the buffer
with the terminating NUL when the argument to be stringified
has no tokens.
* testsuite/gcc.dg/cpp/20020927-1.c: New.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.15563&r2=1.15564
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cppmacro.c.diff?cvsroot=gcc&r1=1.124&r2=1.125
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2103&r2=1.2104
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/20020927-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1