This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/4319: short accepted on typedef'd char
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jfoster at cs dot berkeley dot edu, jsm28 at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Subject: Re: c/4319: short accepted on typedef'd char
- From: jsm28 at gcc dot gnu dot org
- Date: 13 Sep 2001 21:01:57 -0000
Synopsis: short accepted on typedef'd char
Responsible-Changed-From-To: unassigned->jsm28
Responsible-Changed-By: jsm28
Responsible-Changed-When: Thu Sep 13 14:01:57 2001
Responsible-Changed-Why:
Claiming responsibility for this bug. The fix is trivial,
but doing it properly does involve writing a collection
of testcases for all the valid and invalid uses of type
specifiers.
State-Changed-From-To: open->analyzed
State-Changed-By: jsm28
State-Changed-When: Thu Sep 13 14:01:57 2001
State-Changed-Why:
Confirmed as a bug in current 3.1 CVS. This case will
give a warning with -pedantic; there are a lot of cases
where warnings conditional on -pedantic ought to be
unconditional warnings or errors, and since this is a case
of nonsense code it ought to be an unconditional error.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4319&database=gcc