This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/17562] New: Objective-C Exception Handling Causes ICE
- From: "kwall at kurtwerks dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Sep 2004 19:30:34 -0000
- Subject: [Bug objc/17562] New: Objective-C Exception Handling Causes ICE
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compiling an Objective-C source file to object code causes an
ICE/seg fault:
$ /usr/local/gcc342/bin/gcc -c -fobjc-exceptions \
-fconstant-string-class=NSConstantString \
-I/usr/GNUstep/System/Library/Headers \
-L/usr/GNUstep/System/Library/Libraries -lobjc Cup.m
Cup.m: In function `-[Cup setLevel:]':
Cup.m:31: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions
Code snippet:
24 if ( level > 100 ) {
25 // throw overflow
26 NSException *e = [CupOverflowException
27 exceptionWithName: @"CupOverflowException"
28 reason: @"The level is above 100"
29 userInfo: nil];
30 //[e raise];
31 @throw e;
--
Summary: Objective-C Exception Handling Causes ICE
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: objc
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kwall at kurtwerks dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17562