small patch
Mike Stump
mrs@wrs.com
Wed Jan 14 04:17:00 GMT 1998
sp is command in the target shell, meaning spawn, that command is used
by dejagnu to run testcases. One feature of VxWorks target shell is
that you can replace builtins with new definitions, though replacing
sp with a global variable called sp isn't very useful.
This patch is reasonably safe, as we still test what it is the
testcase is trying to test.
> To: mrs@wrs.com (Mike Stump)
> cc: egcs@cygnus.com
> Date: Tue, 13 Jan 1998 00:48:16 -0700
> From: Jeffrey A Law <law@hurl.cygnus.com>
> In message < 199801122240.OAA16601@kankakee.wrs.com >you write:
> > Here is a small patch to avoid a failure on VxWorks:
> >
> > Doing diffs in gcc/testsuite/g++.old-deja/g++.bugs:
> > *** gcc/testsuite/g++.old-deja/g++.bugs/900520_05.C.~1~ Mon Jan 12 13:5
> > 3:27 1998
> > --- gcc/testsuite/g++.old-deja/g++.bugs/900520_05.C Mon Jan 12 13:54:48 199
> > 8
> > *************** struct struct_0 {
> > *** 8,14 ****
> > };
> >
> > char *cp;
> > ! struct_0 *sp;
> >
> > void test0 ()
> > {
> > --- 8,14 ----
> > };
> >
> > char *cp;
> > ! static struct_0 *sp;
> >
> > void test0 ()
> > {
> > --------------
> Huh? Something's rather bogus here. Why does adding a static help
> VxWorks?
More information about the Gcc
mailing list