https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53943
--- Comment #2 from Konstantin Osipov ---
kostja@atlas ~ % gcc -fobjc-direct-dispatch foo.m -lobjc
foo.m: In function ‘main’:
foo.m:14:9: internal compiler error: Segmentation fault
@throw [Interface new];
^
Please submit a full
: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: kostja.osipov at gmail dot com
gcc 4.6.3 fails to produce a correct debuggable binary when a function uses
an atomic built-iin and an infinite loop.
In the example below a
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57428
Konstantin Osipov changed:
What|Removed |Added
Severity|blocker |critical
Component: objc
Assignee: unassigned at gcc dot gnu.org
Reporter: kostja.osipov at gmail dot com
/* Compile with: gcc gcc-objective-c-exceptions.m -fobjc-exceptions -o test
-lobjc */
#include
#include
#import
@interface Object {
Class isa;
}
+ (id) alloc;
- (id) init
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53944
--- Comment #2 from Konstantin Osipov ---
Objective C++ exception handling is broken in gcc completely, here's a small
example of trying to use C++ and Objective C exceptions together which
SEGFAULTs:
kostja@olah ~ % cat foo.mm
#include
#incl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53944
Konstantin Osipov changed:
What|Removed |Added
Host||Linux atlas
|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53944
Bug #: 53944
Summary: Can't catch C++ exception in Objective C
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priorit
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53943
Bug #: 53943
Summary: Compiler ICE with -fobjc-direct-dispatch flag on Linux
Classification: Unclassified
Product: gcc
Version: 4.6.3
Status: UNCONFIRMED
Severity: normal