From: hjl@lucon.org (H.J. Lu)
To: egcs@cygnus.com
Subject: An EH bug on x86
Date: Thu, 16 Oct 1997 12:53:00 -0000 [thread overview]
Message-ID: <m0xLruX-0004edC@ocean.lucon.org> (raw)
This test case shows an EH bug on x86 with DWARF EH.
# make
gcc -c -O -g main.cc
gcc -c -O -g ShellObj.cc
gcc -o shell main.o ShellObj.o
# ./shell
zsh: 6030 segmentation fault ./shell
If I do
# cat ShellObj.h ShellObj.cc main.cc > x.cc
# gcc -O x.c
# a.out
# echo $?
1
If I use sjlj EH, it also runs fine.
Thanks.
--
H.J. Lu (hjl@gnu.ai.mit.edu)
---
begin 644 eh.tar.gz
M'XL(`/EH130``^V62V_:0!"`N69_Q00XV)$,NWXV4*HF:9JD0HH4HBJWR#AK
M;.+8D6U$*T1_>V?MFE?5I!>30_:3P&9VO&,8OET'<]9MU`R8U+$L:``PQZ+B
M"&#KY;&$8L#4F6Z;!C/QLV-3V@"K[AL3S++<30$:P31Z,0_3?'\?-[1?`NS_
MD_O(_3#B==5@E-JF^>_^FZ+G5?\-AFG,L(P&T+IN:)-WWO^SNSN``4P\#UK:
M=^`3+]/TSC'M,%T[=K!S'[0)P:2OPY.+$29JUZ!-,-7/IM%4XS\\_IR'29R1
MVY.;B_-;,5<6\"@BHYNST0">W##NX-PC$;L>3_&<7)]^&PW:BDCHX>=!)U$)
MP9-.TB,';06+J:!Y4)P5955H?R3$C2+H8;0LA)<4=41$3*BN+TV@_;F*XG%X
M=8JCQ(NX&P-6Z([#N)L^@>:O)P,XZB3DK7OQ%@C_5\T)ZJGQJO^&7?A/+=-P
MJ"[\MPSI_UYHA7[\P'VX'UV>#X?HS/TE:6$@C/G!9@S]<;-LY?%YFB8I69#G
MV3@*O1X!\'`1R,$+\,<\XF*TC\&M=%"V<E2TF9=QKF+N`E]+LNSOEMJJ4@5!
M46&Q%"5^_1T*XQR^)%>YB.1!FLQ!V;H1M4^*O#6DQ>.'T(=N%PXWO_5;=Z=^
MROV_6*1KJ_&:_X;M5/L_LY@C_&<ZE?[O@U88>]'L@4-SO0LT"4&%B/A;H$)D
ML>G=4194BH6XUU/4%6`>X-,C**S2&/`9``=C/E]=6.0!Y.G/XKCXHQ\ZIV2!
M]JG2]1"G5&&<<O>Q-'19O'MN[@4[%D.Q:FQ,A159I?7.#$M1/>7Y+(TA1/O?
M@=C_R=;^7],:\)K_S#97^[]M&<)_VS&E__O@!?^K0*_WXF9:K`_ER,YVW[SE
H67[85/MK^9B43R*12"02B40BD4@D$HE$(I%())+Z^0T%P5W@`"@`````
`
end
reply other threads:[~1997-10-16 12:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m0xLruX-0004edC@ocean.lucon.org \
--to=hjl@lucon.org \
--cc=egcs@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).