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]

+ operator


Test code:

int main()
{
    int x = 10, y=20,z;

    z = x + +  y * 10 ;
/* any  num of '+'  */
}

Compiled with:
gcc -ansi -Wall

Result:
  Compiles without even giving warning

gcc version:
  2.96
  20000731 (Red Hat 7.0)

Regards
Shishir



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