From mboxrd@z Thu Jan 1 00:00:00 1970 From: mrs@wrs.com (Mike Stump) To: law@cygnus.com Cc: egcs@cygnus.com Subject: Re: small patch Date: Wed, 14 Jan 1998 04:17:00 -0000 Message-id: <199801131847.KAA00320@kankakee.wrs.com> X-SW-Source: 1998-01/msg00387.html 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 > 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?