This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/43534] New: Extra '+' operator not shown as an error.
- From: "brutusjees4 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2010 12:07:34 -0000
- Subject: [Bug c/43534] New: Extra '+' operator not shown as an error.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
In the following code:
/**********
* File : a.c
**********/
#include <stdio.h>
int main()
{
int a = 1 ;
printf( "%d\n" , + + + a );
}
When compiled as:
gcc -o a a.c
The extra '+' signs are not shown as error. The program compiles and executes
as if the extra '+' signs did not exist.
--
Summary: Extra '+' operator not shown as an error.
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: brutusjees4 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43534