This is the mail archive of the gcc-bugs@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]

[Bug c/43534] New: Extra '+' operator not shown as an error.


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


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