This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c/4319
- From: jsm28 at gcc dot gnu dot org
- To: jsm28 at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 21 Aug 2002 16:36:01 -0000
- Subject: c/4319
- Reply-to: jsm28 at gcc dot gnu dot org
The following reply was made to PR c/4319; it has been noted by GNATS.
From: jsm28@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: c/4319
Date: 21 Aug 2002 16:31:37 -0000
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jsm28@gcc.gnu.org 2002-08-21 09:31:37
Modified files:
gcc : ChangeLog c-decl.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg: typespec-1.c
Log message:
* c-decl.c (grokdeclarator): Make invalid combinations with long,
short, signed or unsigned into hard errors. Fixes PR c/4319.
Also make duplicate modifiers such as "short short" into hard
errors.
testsuite:
* gcc.dg/typespec-1.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.15225&r2=1.15226
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&r1=1.348&r2=1.349
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2038&r2=1.2039
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/typespec-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1