public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc/31281]  New: ICE on ObjC try-catch blocks
@ 2007-03-20 16:51 stuart at apple dot com
  2007-03-20 17:16 ` [Bug objc/31281] ICE on ObjC try-catch blocks with next runtime pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: stuart at apple dot com @ 2007-03-20 16:51 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug objc/31281] ICE on ObjC try-catch blocks with next runtime
  2007-03-20 16:51 [Bug objc/31281] New: ICE on ObjC try-catch blocks stuart at apple dot com
@ 2007-03-20 17:16 ` pinskia at gcc dot gnu dot org
  2007-03-20 17:17 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-20 17:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-03-20 17:16 -------
This works for me on the trunk on powerpc-linux-gnu with the GNU runtime and
next runtime.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE on ObjC try-catch blocks|ICE on ObjC try-catch blocks
                   |                            |with next runtime


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31281


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug objc/31281] ICE on ObjC try-catch blocks with next runtime
  2007-03-20 16:51 [Bug objc/31281] New: ICE on ObjC try-catch blocks stuart at apple dot com
  2007-03-20 17:16 ` [Bug objc/31281] ICE on ObjC try-catch blocks with next runtime pinskia at gcc dot gnu dot org
@ 2007-03-20 17:17 ` pinskia at gcc dot gnu dot org
  2007-03-27 17:19 ` stuart at apple dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-20 17:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-03-20 17:17 -------
*** Bug 31283 has been marked as a duplicate of this bug. ***


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31281


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug objc/31281] ICE on ObjC try-catch blocks with next runtime
  2007-03-20 16:51 [Bug objc/31281] New: ICE on ObjC try-catch blocks stuart at apple dot com
  2007-03-20 17:16 ` [Bug objc/31281] ICE on ObjC try-catch blocks with next runtime pinskia at gcc dot gnu dot org
  2007-03-20 17:17 ` pinskia at gcc dot gnu dot org
@ 2007-03-27 17:19 ` stuart at apple dot com
  2007-04-03 16:43 ` stuart at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: stuart at apple dot com @ 2007-03-27 17:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from stuart at apple dot com  2007-03-27 18:18 -------
Patch offered here:

  http://gcc.gnu.org/ml/gcc-patches/2007-03/msg01328.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31281


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug objc/31281] ICE on ObjC try-catch blocks with next runtime
  2007-03-20 16:51 [Bug objc/31281] New: ICE on ObjC try-catch blocks stuart at apple dot com
                   ` (2 preceding siblings ...)
  2007-03-27 17:19 ` stuart at apple dot com
@ 2007-04-03 16:43 ` stuart at gcc dot gnu dot org
  2007-04-04 18:37 ` stuart at gcc dot gnu dot org
  2010-07-20 14:04 ` steven at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: stuart at gcc dot gnu dot org @ 2007-04-03 16:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from stuart at gcc dot gnu dot org  2007-04-03 17:43 -------
Subject: Bug 31281

Author: stuart
Date: Tue Apr  3 17:43:15 2007
New Revision: 123478

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123478
Log:
        PR 31281
        * objc/objc-act.c (next_sjlj_build_catch_list): Delete volatile from
rethrow decl.
        * cse.c (record_jump_equiv): Bail out on CCmode comparisons.
        * testsuite/objc/execute/exceptions/pr31281.m: New.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/objc/execute/exceptions/pr31281.m
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/cse.c
    branches/gcc-4_2-branch/gcc/objc/objc-act.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31281


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug objc/31281] ICE on ObjC try-catch blocks with next runtime
  2007-03-20 16:51 [Bug objc/31281] New: ICE on ObjC try-catch blocks stuart at apple dot com
                   ` (3 preceding siblings ...)
  2007-04-03 16:43 ` stuart at gcc dot gnu dot org
@ 2007-04-04 18:37 ` stuart at gcc dot gnu dot org
  2010-07-20 14:04 ` steven at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: stuart at gcc dot gnu dot org @ 2007-04-04 18:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from stuart at gcc dot gnu dot org  2007-04-04 19:37 -------
Subject: Bug 31281

Author: stuart
Date: Wed Apr  4 19:37:14 2007
New Revision: 123501

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123501
Log:
        PR 31281
        * objc/objc-act.c (next_sjlj_build_catch_list): Delete volatile from
rethrow decl.
        * testsuite/objc/execute/exceptions/pr31281.m: New.

Added:
    trunk/gcc/testsuite/objc/execute/exceptions/pr31281.m
Modified:
    trunk/gcc/objc/ChangeLog
    trunk/gcc/objc/objc-act.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31281


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug objc/31281] ICE on ObjC try-catch blocks with next runtime
  2007-03-20 16:51 [Bug objc/31281] New: ICE on ObjC try-catch blocks stuart at apple dot com
                   ` (4 preceding siblings ...)
  2007-04-04 18:37 ` stuart at gcc dot gnu dot org
@ 2010-07-20 14:04 ` steven at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-07-20 14:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from steven at gcc dot gnu dot org  2010-07-20 14:03 -------
Patches for this were commited in the last decade.


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31281


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-07-20 14:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-20 16:51 [Bug objc/31281] New: ICE on ObjC try-catch blocks stuart at apple dot com
2007-03-20 17:16 ` [Bug objc/31281] ICE on ObjC try-catch blocks with next runtime pinskia at gcc dot gnu dot org
2007-03-20 17:17 ` pinskia at gcc dot gnu dot org
2007-03-27 17:19 ` stuart at apple dot com
2007-04-03 16:43 ` stuart at gcc dot gnu dot org
2007-04-04 18:37 ` stuart at gcc dot gnu dot org
2010-07-20 14:04 ` steven at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).