public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug objc++/23616] New: obj-c++.dg/try-catch-2.mm (objc exceptions are broken) fails with the GNU Runtime @ 2005-08-29 3:48 pinskia at gcc dot gnu dot org 2005-08-29 4:50 ` [Bug objc++/23616] obj-c++.dg/try-catch-[29].mm " pinskia at gcc dot gnu dot org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-08-29 3:48 UTC (permalink / raw) To: gcc-bugs obj-c++.dg/try-catch-2.mm fails with: /tmp/ccYlrE11.o(.gcc_except_table+0x18): undefined reference to `typeinfo for Frob*' Which means we are trying to use the C++ style exceptions instead of objc exceptions. Though this is harder to fix correctly (I have to look into how the C++ front-end implements "java" exceptions). -- Summary: obj-c++.dg/try-catch-2.mm (objc exceptions are broken) fails with the GNU Runtime Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P2 Component: objc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23616 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug objc++/23616] obj-c++.dg/try-catch-[29].mm (objc exceptions are broken) fails with the GNU Runtime 2005-08-29 3:48 [Bug objc++/23616] New: obj-c++.dg/try-catch-2.mm (objc exceptions are broken) fails with the GNU Runtime pinskia at gcc dot gnu dot org @ 2005-08-29 4:50 ` pinskia at gcc dot gnu dot org 2005-08-31 15:40 ` pinskia at gcc dot gnu dot org 2005-08-31 20:59 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-08-29 4:50 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-29 03:48 ------- try-catch-9.mm fails the same way: /tmp/ccgh94EZ.o(.gcc_except_table+0x14): undefined reference to `typeinfo for Object*' -- What |Removed |Added ---------------------------------------------------------------------------- Summary|obj-c++.dg/try-catch-2.mm |obj-c++.dg/try-catch-[29].mm |(objc exceptions are broken)|(objc exceptions are broken) |fails with the GNU Runtime |fails with the GNU Runtime http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23616 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug objc++/23616] obj-c++.dg/try-catch-[29].mm (objc exceptions are broken) fails with the GNU Runtime 2005-08-29 3:48 [Bug objc++/23616] New: obj-c++.dg/try-catch-2.mm (objc exceptions are broken) fails with the GNU Runtime pinskia at gcc dot gnu dot org 2005-08-29 4:50 ` [Bug objc++/23616] obj-c++.dg/try-catch-[29].mm " pinskia at gcc dot gnu dot org @ 2005-08-31 15:40 ` pinskia at gcc dot gnu dot org 2005-08-31 20:59 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-08-31 15:40 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 15:38 ------- Confirmed based on: http://gcc.gnu.org/ml/gcc-testresults/2005-08/msg01653.html -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-08-31 15:38:44 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23616 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug objc++/23616] obj-c++.dg/try-catch-[29].mm (objc exceptions are broken) fails with the GNU Runtime 2005-08-29 3:48 [Bug objc++/23616] New: obj-c++.dg/try-catch-2.mm (objc exceptions are broken) fails with the GNU Runtime pinskia at gcc dot gnu dot org 2005-08-29 4:50 ` [Bug objc++/23616] obj-c++.dg/try-catch-[29].mm " pinskia at gcc dot gnu dot org 2005-08-31 15:40 ` pinskia at gcc dot gnu dot org @ 2005-08-31 20:59 ` pinskia at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-08-31 20:59 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 20:59 ------- The fix would be change choose_personality_routine but that would mean you cannot mix C++ and Objc exceptions in one TU. So far there are no tests for this. I might implement the change to the ObjC and C++'s to implement this but I am not going to do it until 4.2. Maybe by then we can mix them but I really doubt it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23616 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-31 20:59 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-08-29 3:48 [Bug objc++/23616] New: obj-c++.dg/try-catch-2.mm (objc exceptions are broken) fails with the GNU Runtime pinskia at gcc dot gnu dot org 2005-08-29 4:50 ` [Bug objc++/23616] obj-c++.dg/try-catch-[29].mm " pinskia at gcc dot gnu dot org 2005-08-31 15:40 ` pinskia at gcc dot gnu dot org 2005-08-31 20:59 ` pinskia 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).