c/4319: short accepted on typedef'd char
jsm28@gcc.gnu.org
jsm28@gcc.gnu.org
Thu Sep 13 14:02:00 GMT 2001
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
More information about the Gcc-bugs
mailing list