c/10637: gcc compiles code with syntax error in it

hijaszu@mail.novo-iram.hu hijaszu@mail.novo-iram.hu
Tue May 6 09:06:00 GMT 2003


>Number:         10637
>Category:       c
>Synopsis:       gcc compiles code with syntax error in it
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          accepts-illegal
>Submitter-Id:   net
>Arrival-Date:   Tue May 06 08:56:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Zimler Attila
>Release:        gcc version 3.2.3
>Organization:
>Environment:
i686 Linux with 2.4.20 kernel
>Description:
Gcc fails to reject the compilation of the code. The syntax error is after fv() call in main. (line ends with ",")
>How-To-Repeat:
void fv() {}
void fv2() {}

int main()
{
	fv(),
	fv2();
}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list