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 testsuite/37561] [4.4 Regression] Revision 140405 caused g++.old-deja/g++.mike/warn1.C



------- Comment #4 from janis at gcc dot gnu dot org  2008-09-17 17:38 -------
The same thing happens in C for the simplified testcase; z.c is a copy of z.C
from comment #3:

  elm3b149% /home/janis/tools/gcc-trunk-anonsvn/bin/gcc -c -m32 z.c
  z.c: In function ?foo?:
  z.c:3: error: lvalue required as increment operand
  z.c: In function ?bar?:
  z.c:4: warning: cast to pointer from integer of different size
  elm3b149% /home/janis/tools/gcc-trunk-anonsvn/bin/gcc -c -m64 z.c
  z.c: In function ?foo?:
  z.c:3: error: lvalue required as increment operand
  z.c: In function ?bar?:
  z.c:4: warning: cast to pointer from integer of different size


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37561


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