This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc/31281] New: ICE on ObjC try-catch blocks
- From: "stuart at apple dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Mar 2007 16:51:04 -0000
- Subject: [Bug objc/31281] New: ICE on ObjC try-catch blocks
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The 4.2 ObjC compiler ICEs on this (nonsensically reduced) testcase. Compile
with -O2:
int f(unsigned int i)
{
@try { } @catch(id) { }
for (;;)
for (;;)
@try {
if (i)
break;
} @catch(id) { }
}
The 4.0 compiler does not ICE with this testcase.
--
Summary: ICE on ObjC try-catch blocks
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: objc
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: stuart at apple dot com
GCC target triplet: powerpc-apple-darwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31281