[Bug objc/31281] New: ICE on ObjC try-catch blocks

stuart at apple dot com gcc-bugzilla@gcc.gnu.org
Tue Mar 20 16:51:00 GMT 2007


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



More information about the Gcc-bugs mailing list