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]

Re: bug in g++ (very important for Java)


>>>>> "Tom" == Tom Tromey <tromey@cygnus.com> writes:

Tom> I'm using the latest cvs gcc on my x86 Debian 2.0 box.
Tom> I believe g++ miscompiles the appended code (part of libgcj).

Tom> In particular, this test:
Tom>   if (((size_t) count > 
Tom>                         (((size_t) (~ (size_t) 0)) - size) / sizeof (jobject)));
Tom> passes.

There's no bug here.  The test appears to pass because there is a
bogus trailing `;'.  Sorry about that -- I didn't see it, but Bryce
did and checked in the fix.  Duh.

Tom


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