bug in g++ (very important for Java)
Tom Tromey
tromey@cygnus.com
Wed Sep 5 00:04:00 GMT 2001
>>>>> "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
More information about the Gcc-bugs
mailing list