This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]