Re: There is a -Wenum-compare warning in gcc/c-family/array-notation-common.c

2013-06-20 Thread Chung-Ju Wu
2013/6/16 Chung-Ju Wu : > Hi Balaji, > > I was building a native gcc with trunk r200117, > but I noticed the following code fragment cause -Wenum-compare warning: > > > [gcc/c-family/array-notation-common.c] > > 483 /* This function is used by C and C++ front-ends. In C++, additional > 484

There is a -Wenum-compare warning in gcc/c-family/array-notation-common.c

2013-06-15 Thread Chung-Ju Wu
Hi Balaji, I was building a native gcc with trunk r200117, but I noticed the following code fragment cause -Wenum-compare warning: [gcc/c-family/array-notation-common.c] 483 /* This function is used by C and C++ front-ends. In C++, additional 484 tree codes such as TARGET_EXPR must be e