This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c/10637: gcc compiles code with syntax error in it
- From: hijaszu at mail dot novo-iram dot hu
- To: gcc-gnats at gcc dot gnu dot org
- Date: 6 May 2003 08:55:08 -0000
- Subject: c/10637: gcc compiles code with syntax error in it
- Reply-to: hijaszu at mail dot novo-iram dot hu
>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: