This is the mail archive of the gcc-patches@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]

Re: ppc: fix for pr31281, ObjC try-catch ICEs 4.2


On 3/28/07, Stuart Hastings <stuart@apple.com> wrote:
Do you want the testcase? It's pretty nonsensical:

int f(unsigned int i)
{
   @try { } @catch(id) { }
   for (;;)
     for (;;)
       @try {
         if (i)
           break;
       } @catch(id) { }
}

If you want the testcase, I'm guessing it would become .../testsuite/
objc.dg/pr31281.m (?).

Can you turn this into a quick execute testcase and put it into objc/execute/exceptions so that it gets run by both the next and gnu runtimes. It might be better if objc/compile/exceptions is added for such compile time testcase also.

Thanks,
Andrew Pinski


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