This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/26759] New: [4.0/4.1 regression] gcc 4 does not notice C syntax error
- From: "debian-gcc at lists dot debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Mar 2006 13:46:31 -0000
- Subject: [Bug c/26759] New: [4.0/4.1 regression] gcc 4 does not notice C syntax error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
[forwarded from http://bugs.debian.org/354700]
$ cat >t.c
int foo(int x;) { }
$ gcc-3.4 -c t.c
t.c:1: error: parameter "x" has just a forward declaration
$ gcc-4.0 -c t.c
$ echo $?
0
$ gcc-4.1 -c t.c
$ echo $?
0
--
Summary: [4.0/4.1 regression] gcc 4 does not notice C syntax
error
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26759