This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]