public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* An g++ exception bug in egcs 970924
@ 1997-09-25 10:42 H.J. Lu
  0 siblings, 0 replies; 3+ messages in thread
From: H.J. Lu @ 1997-09-25 10:42 UTC (permalink / raw)
  To: egcs

egcs 970924 configured for linux/x86/libc 5.

# gcc g++.mike/eh35.C
# a.out
zsh: 6096 segmentation fault  ./a.out


-- 
H.J. Lu (hjl@gnu.ai.mit.edu)
---g++.mike/eh35.C---
// Special g++ Options: -fexceptions
// excess errors test - XFAIL a29k-*-* sparc64-*-elf sh-*-* arm-*-pe**-*

main() {
  try {  
    throw 'a';
  } catch (char a) {
    try {
      throw 'a';
    } catch (int i) {
      return 1;
    } catch (char c) {
      return 0;
    }
  }
  return 1;
}

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <m0xEHvZ-0004ecC.cygnus.egcs@ocean.lucon.org>]

end of thread, other threads:[~1997-09-25 14:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-25 10:42 An g++ exception bug in egcs 970924 H.J. Lu
     [not found] <m0xEHvZ-0004ecC.cygnus.egcs@ocean.lucon.org>
1997-09-25 11:42 ` Jason Merrill
1997-09-25 14:16   ` H.J. Lu

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).