public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime
       [not found] <bug-23716-6528@http.gcc.gnu.org/bugzilla/>
@ 2005-10-09 21:00 ` christian dot joensson at gmail dot com
  2006-04-20 23:31 ` janis at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: christian dot joensson at gmail dot com @ 2005-10-09 21:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from christian dot joensson at gmail dot com  2005-10-09 21:00 -------
Also here... http://gcc.gnu.org/ml/gcc/2005-10/msg00198.html


-- 


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


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

* [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime
       [not found] <bug-23716-6528@http.gcc.gnu.org/bugzilla/>
  2005-10-09 21:00 ` [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime christian dot joensson at gmail dot com
@ 2006-04-20 23:31 ` janis at gcc dot gnu dot org
  2006-04-21 23:32 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: janis at gcc dot gnu dot org @ 2006-04-20 23:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from janis at gcc dot gnu dot org  2006-04-20 23:31 -------
This test and obj-c++.dg/try-catch-9.mm get the same ICE on powerpc-linux on
trunk as of 2006-04-20, and have failed since I started including obj-c++ on
2005-11-02.


-- 


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


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

* [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime
       [not found] <bug-23716-6528@http.gcc.gnu.org/bugzilla/>
  2005-10-09 21:00 ` [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime christian dot joensson at gmail dot com
  2006-04-20 23:31 ` janis at gcc dot gnu dot org
@ 2006-04-21 23:32 ` pinskia at gcc dot gnu dot org
  2006-06-14  4:21 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-21 23:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-04-21 23:32 -------
*** Bug 27246 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org


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


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

* [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime
       [not found] <bug-23716-6528@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-04-21 23:32 ` pinskia at gcc dot gnu dot org
@ 2006-06-14  4:21 ` pinskia at gcc dot gnu dot org
  2006-10-16 22:32 ` danglin at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-14  4:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-06-14 04:19 -------
*** Bug 28020 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tbm at cyrius dot com


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


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

* [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime
       [not found] <bug-23716-6528@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2006-06-14  4:21 ` pinskia at gcc dot gnu dot org
@ 2006-10-16 22:32 ` danglin at gcc dot gnu dot org
  2007-03-04  1:42 ` tbm at cyrius dot com
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu dot org @ 2006-10-16 22:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from danglin at gcc dot gnu dot org  2006-10-16 22:32 -------
Also fails on hppa2.0w-hp-hpux11.11.


-- 


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


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

* [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime
       [not found] <bug-23716-6528@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2006-10-16 22:32 ` danglin at gcc dot gnu dot org
@ 2007-03-04  1:42 ` tbm at cyrius dot com
  2008-02-08  1:22 ` ghazi at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: tbm at cyrius dot com @ 2007-03-04  1:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from tbm at cyrius dot com  2007-03-04 01:42 -------
Fails here with 4.3 with:

internal compiler error: tree check: expected class 'expression', have
'exceptional' (error_mark) in build_min_nt, at cp/tree.c:1489


-- 


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


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

* [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime
       [not found] <bug-23716-6528@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2007-03-04  1:42 ` tbm at cyrius dot com
@ 2008-02-08  1:22 ` ghazi at gcc dot gnu dot org
  2010-03-26 20:10 ` developer at sandoe-acoustics dot co dot uk
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2008-02-08  1:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from ghazi at gcc dot gnu dot org  2008-02-08 01:22 -------
This failure occurs on x86_64-unknown-linux-gnu on 4.1, 4.2 and trunk:

http://gcc.gnu.org/ml/gcc-testresults/2008-02/msg00469.html
http://gcc.gnu.org/ml/gcc-testresults/2008-02/msg00468.html
http://gcc.gnu.org/ml/gcc-testresults/2008-02/msg00466.html

The tree checking failure says:

comp-types-10.mm:19: internal compiler error: tree check: expected class
'type', have 'exceptional' (error_mark) in setup_one_parameter, at
tree-inline.c:1535


-- 

ghazi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ghazi at gcc dot gnu dot
                   |                            |org, mrs at apple dot com
      Known to fail|                            |4.1.3 4.2.4 4.3.0
   Last reconfirmed|2006-01-08 05:22:06         |2008-02-08 01:22:15
               date|                            |


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


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

* [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime
       [not found] <bug-23716-6528@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2008-02-08  1:22 ` ghazi at gcc dot gnu dot org
@ 2010-03-26 20:10 ` developer at sandoe-acoustics dot co dot uk
  2010-03-26 21:45 ` developer at sandoe-acoustics dot co dot uk
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: developer at sandoe-acoustics dot co dot uk @ 2010-03-26 20:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from developer at sandoe-acoustics dot co dot uk  2010-03-26 20:09 -------
also fails on *-*-darwin* with -fgnu-runtime.


-- 

developer at sandoe-acoustics dot co dot uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |developer at sandoe-
                   |                            |acoustics dot co dot uk


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


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

* [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime
       [not found] <bug-23716-6528@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2010-03-26 20:10 ` developer at sandoe-acoustics dot co dot uk
@ 2010-03-26 21:45 ` developer at sandoe-acoustics dot co dot uk
  2010-03-27 12:00 ` developer at sandoe-acoustics dot co dot uk
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: developer at sandoe-acoustics dot co dot uk @ 2010-03-26 21:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from developer at sandoe-acoustics dot co dot uk  2010-03-26 21:44 -------
(In reply to comment #9)
> also fails on *-*-darwin* with -fgnu-runtime.

note the fail does not occur (at least on ppc darwin) with -O0


-- 


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


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

* [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime
       [not found] <bug-23716-6528@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2010-03-26 21:45 ` developer at sandoe-acoustics dot co dot uk
@ 2010-03-27 12:00 ` developer at sandoe-acoustics dot co dot uk
  2010-04-02 23:57 ` mrs at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: developer at sandoe-acoustics dot co dot uk @ 2010-03-27 12:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from developer at sandoe-acoustics dot co dot uk  2010-03-27 11:59 -------
It seems that objc_start_function is expecting a TREE in the objcpp case - so
the error marked node is indeed unexpected.

I've tried this on i686-darwin and i32-linux - but there are obviously a lot of
affected platforms out there - would some of you like to try this?


Index: gcc/objc/objc-act.c
===================================================================
--- gcc/objc/objc-act.c (revision 157761)
+++ gcc/objc/objc-act.c (working copy)
@@ -2391,11 +2398,17 @@

   objc_push_parm (build_decl (input_location,
                              PARM_DECL, NULL_TREE, void_type_node));
+#ifdef OBJCPLUS
   objc_start_function (get_identifier (TAG_GNUINIT),
                       build_function_type (void_type_node,
                                            OBJC_VOID_AT_END),
+                      NULL_TREE, NULL_TREE);
+#else
+  objc_start_function (get_identifier (TAG_GNUINIT),
+                      build_function_type (void_type_node,
+                                           OBJC_VOID_AT_END),
                       NULL_TREE, objc_get_parm_info (0));
-
+#endif
   body = c_begin_compound_stmt (true);
   add_stmt (build_function_call
            (input_location,


-- 


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


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

* [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime
       [not found] <bug-23716-6528@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2010-03-27 12:00 ` developer at sandoe-acoustics dot co dot uk
@ 2010-04-02 23:57 ` mrs at gcc dot gnu dot org
  2010-04-07 16:20 ` iains at gcc dot gnu dot org
  2010-06-07 10:45 ` iains at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: mrs at gcc dot gnu dot org @ 2010-04-02 23:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from mrs at gcc dot gnu dot org  2010-04-02 23:57 -------
Ok.  Ok for gcc-4.5.


-- 


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


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

* [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime
       [not found] <bug-23716-6528@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2010-04-02 23:57 ` mrs at gcc dot gnu dot org
@ 2010-04-07 16:20 ` iains at gcc dot gnu dot org
  2010-06-07 10:45 ` iains at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: iains at gcc dot gnu dot org @ 2010-04-07 16:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from iains at gcc dot gnu dot org  2010-04-07 16:20 -------
Subject: Bug 23716

Author: iains
Date: Wed Apr  7 16:20:08 2010
New Revision: 158076

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158076
Log:
fix PR23716

2010-04-07  Iain Sandoe <iains@gcc.gnu.org>

        PR objc++/23716
        * objc-act.c (build_module_initializer_routine): Make the argument
        to objc_start_function NULL_TREE when compiling ObjC++.

2010-04-07  Iain Sandoe <iains@gcc.gnu.org>

        PR objc++/23716
        * obj-c++.dg/comp-types-10.mm: Remove XFAIL.


Modified:
    trunk/gcc/objc/ChangeLog
    trunk/gcc/objc/objc-act.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/obj-c++.dg/comp-types-10.mm


-- 


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


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

* [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime
       [not found] <bug-23716-6528@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2010-04-07 16:20 ` iains at gcc dot gnu dot org
@ 2010-06-07 10:45 ` iains at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: iains at gcc dot gnu dot org @ 2010-06-07 10:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from iains at gcc dot gnu dot org  2010-06-07 10:45 -------
closing after back-porting to 4.5;
 if anyone feels passionately about a merge to 4.4 ... they can re-open.


-- 

iains at gcc dot gnu dot org changed:

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


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


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

* [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime
  2005-09-03 12:41 [Bug objc++/23716] New: " pinskia at gcc dot gnu dot org
@ 2005-09-03 12:42 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-03 12:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-03 12:42 -------
Confirmed, based on
http://gcc.gnu.org/ml/gcc-testresults/2005-09/msg00118.html

.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-03 12:42:02
               date|                            |


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


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

end of thread, other threads:[~2010-06-07 10:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23716-6528@http.gcc.gnu.org/bugzilla/>
2005-10-09 21:00 ` [Bug objc++/23716] obj-c++.dg/comp-types-10.mm ICE with the GNU runtime christian dot joensson at gmail dot com
2006-04-20 23:31 ` janis at gcc dot gnu dot org
2006-04-21 23:32 ` pinskia at gcc dot gnu dot org
2006-06-14  4:21 ` pinskia at gcc dot gnu dot org
2006-10-16 22:32 ` danglin at gcc dot gnu dot org
2007-03-04  1:42 ` tbm at cyrius dot com
2008-02-08  1:22 ` ghazi at gcc dot gnu dot org
2010-03-26 20:10 ` developer at sandoe-acoustics dot co dot uk
2010-03-26 21:45 ` developer at sandoe-acoustics dot co dot uk
2010-03-27 12:00 ` developer at sandoe-acoustics dot co dot uk
2010-04-02 23:57 ` mrs at gcc dot gnu dot org
2010-04-07 16:20 ` iains at gcc dot gnu dot org
2010-06-07 10:45 ` iains at gcc dot gnu dot org
2005-09-03 12:41 [Bug objc++/23716] New: " pinskia at gcc dot gnu dot org
2005-09-03 12:42 ` [Bug objc++/23716] " 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).