public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* small patch
@ 1998-03-29  5:14 Mike Stump
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Stump @ 1998-03-29  5:14 UTC (permalink / raw)
  To: egcs

Based on comment from Peter Leven
<leven@lpr.e-technik.tu-muenchen.de>, thanks Peter.

Fri Mar 27 17:46:16 1998  Mike Stump  <mrs@wrs.com>

    * inc/exception: Fix ordering of closing braces.

Doing diffs in gcc/cp/inc:
*** gcc/cp/inc/exception.~1~	Thu Jan 15 17:45:20 1998
--- gcc/cp/inc/exception	Fri Mar 27 17:44:59 1998
*************** void terminate (void) __attribute__ ((__
*** 33,42 ****
  unexpected_handler set_unexpected (unexpected_handler);
  void unexpected (void) __attribute__ ((__noreturn__));
  bool uncaught_exception ();
- } // extern "C++"
  
  #if 0
  } // namespace std
  #endif
  
  #endif
--- 33,43 ----
  unexpected_handler set_unexpected (unexpected_handler);
  void unexpected (void) __attribute__ ((__noreturn__));
  bool uncaught_exception ();
  
  #if 0
  } // namespace std
  #endif
+ 
+ } // extern "C++"
  
  #endif
--------------

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: small patch
  1998-01-16 20:09 Mike Stump
@ 1998-01-17 23:57 ` Jeffrey A Law
  0 siblings, 0 replies; 8+ messages in thread
From: Jeffrey A Law @ 1998-01-17 23:57 UTC (permalink / raw)
  To: Mike Stump; +Cc: egcs

  In message < 199801162104.NAA24605@kankakee.wrs.com >you write:
  > Here is a small patch to correct these two test cases:
  > 
  > XPASS: g++.mike/dyncast1.C  Execution test
  > XPASS: g++.mike/dyncast2.C  Execution test
Thanks.  Installed.
jeff

^ permalink raw reply	[flat|nested] 8+ messages in thread

* small patch
@ 1998-01-16 20:09 Mike Stump
  1998-01-17 23:57 ` Jeffrey A Law
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Stump @ 1998-01-16 20:09 UTC (permalink / raw)
  To: egcs

Here is a small patch to correct these two test cases:

XPASS: g++.mike/dyncast1.C  Execution test
XPASS: g++.mike/dyncast2.C  Execution test
 
                === g++ Summary ===
 
# of expected passes            3463
# of unexpected successes       2
# of expected failures          79
# of untested testcases         6

testsuite as off a little while ago, on a Sun solaris 2.5.1 sparc.

Doing diffs in testsuite:
*** testsuite/g++.old-deja/g++.mike/dyncast1.C.~1~	Wed Oct 29 16:07:54 1997
--- testsuite/g++.old-deja/g++.mike/dyncast1.C	Wed Nov  5 18:09:42 1997
***************
*** 1,6 ****
  // Special g++ Options: -fexceptions -w
  // excess errors test - XFAIL a29k-*-* sparc64-*-elf sh-*-* arm-*-pe
- // execution test fails - XFAIL powerpc-*-eabi
  
  #include <typeinfo>
  
--- 1,5 ----
*** testsuite/g++.old-deja/g++.mike/dyncast2.C.~1~	Wed Oct 29 16:07:55 1997
--- testsuite/g++.old-deja/g++.mike/dyncast2.C	Wed Nov  5 18:09:45 1997
***************
*** 1,6 ****
  // Special g++ Options: -fexceptions -w
  // excess errors test - XFAIL a29k-*-* sparc64-*-elf sh-*-* arm-*-pe
- // execution test fails - XFAIL powerpc-*-eabi
  
  // Ensure reference handling works.
  
--- 1,5 ----
--------------

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: small patch
@ 1998-01-15 16:06 Mike Stump
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Stump @ 1998-01-15 16:06 UTC (permalink / raw)
  To: law; +Cc: egcs

> To: mrs@wrs.com (Mike Stump)
> cc: egcs@cygnus.com
> Date: Wed, 14 Jan 1998 00:24:05 -0700
> From: Jeffrey A Law <law@hurl.cygnus.com>

>   In message < 199801131847.KAA00320@kankakee.wrs.com >you write:
> And how does this relate to a *program* that you're compiling.

It doesn't relate to a program being compiled, only to programs that
are loaded into VxWorks.

The symbol table of the program that you load (the testcase), modifies
the command parser for the target shell.  This happens because there
is just one global symbol table on the target managed by the OS.  When
the object is loaded, along with the symbol table, the normal sp
command disappears, as the new sp value replaces the prior definition
of `sp'.  The prior definition was just a function to spawn a task,
with the testcase, it becomes a global variable.

> ie, you're talking about the stuff that dejagnu uses to spawn programs,
> not about the program that's actually being spawned.

I hope the above was more clear.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: small patch
  1998-01-14  4:17 Mike Stump
@ 1998-01-14  4:17 ` Jeffrey A Law
  0 siblings, 0 replies; 8+ messages in thread
From: Jeffrey A Law @ 1998-01-14  4:17 UTC (permalink / raw)
  To: Mike Stump; +Cc: egcs

  In message < 199801131847.KAA00320@kankakee.wrs.com >you write:
  > 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.
And how does this relate to a *program* that you're compiling.

ie, you're talking about the stuff that dejagnu uses to spawn programs,
not about the program that's actually being spawned.  Obviously I'm
missing something.


  > This patch is reasonably safe, as we still test what it is the
  > testcase is trying to test.
No doubt.  I'm just trying to figure out what's going on.  I'm probably
going to go ahead and install it, even though it seems to be just papering
over severe namespace pollution in VxWorks.

jeff

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: small patch
@ 1998-01-14  4:17 Mike Stump
  1998-01-14  4:17 ` Jeffrey A Law
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Stump @ 1998-01-14  4:17 UTC (permalink / raw)
  To: law; +Cc: egcs

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?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: small patch
  1998-01-12 14:41 Mike Stump
@ 1998-01-13  4:31 ` Jeffrey A Law
  0 siblings, 0 replies; 8+ messages in thread
From: Jeffrey A Law @ 1998-01-13  4:31 UTC (permalink / raw)
  To: Mike Stump; +Cc: egcs

  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?

jeff

^ permalink raw reply	[flat|nested] 8+ messages in thread

* small patch
@ 1998-01-12 14:41 Mike Stump
  1998-01-13  4:31 ` Jeffrey A Law
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Stump @ 1998-01-12 14:41 UTC (permalink / raw)
  To: egcs

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:53:27 1998
--- gcc/testsuite/g++.old-deja/g++.bugs/900520_05.C	Mon Jan 12 13:54:48 1998
*************** struct struct_0 {
*** 8,14 ****
  };
  
  char *cp;
! struct_0 *sp;
  
  void test0 ()
  {
--- 8,14 ----
  };
  
  char *cp;
! static struct_0 *sp;
  
  void test0 ()
  {
--------------

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1998-03-29  5:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-29  5:14 small patch Mike Stump
  -- strict thread matches above, loose matches on Subject: below --
1998-01-16 20:09 Mike Stump
1998-01-17 23:57 ` Jeffrey A Law
1998-01-15 16:06 Mike Stump
1998-01-14  4:17 Mike Stump
1998-01-14  4:17 ` Jeffrey A Law
1998-01-12 14:41 Mike Stump
1998-01-13  4:31 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).