A Linux/libc 5 patch for egcs 1.1.2
Jeffrey A Law
law@hurl.cygnus.com
Wed Mar 31 23:46:00 GMT 1999
In message <199902282133.NAA24574@atrus.synopsys.com>you write:
> > Given the testcase referenced by my earlier message:
> >
> > #include <iostream.h>
> > #include <streambuf.h>
> >
> > istream x;
> > extern "C" int putc(), fgets();
> >
> > main () {
> > x.get();
> > putc();
> > fgets();
> > x.gets(0, 0);
> > }
> >
> > I've been able to reproduce the problem:
>
> Could you add this as a testcase for the libio testsuite?
It turns out this doesn't fit all that well into the libio testsuite, but
I believe I can make it fit into the g++ testsuite. Better than nothing
I suppose.
jeff
More information about the Gcc
mailing list