public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc++/23640] New: obj-c++ does not call __objc_exec_class for the classes
@ 2005-08-30 17:08 pinskia at gcc dot gnu dot org
2005-08-30 17:20 ` [Bug objc++/23640] " pinskia at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 17:08 UTC (permalink / raw)
To: gcc-bugs
After fixing PR 23609. All obj-c++ tests still fail for different reason:
objc runtime: cannot find class Foo
FAIL: obj-c++.dg/method-17.mm execution test
WE are not registering the classes with the runtime.
--
Summary: obj-c++ does not call __objc_exec_class for the classes
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
BugsThisDependsOn: 23609
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23640
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug objc++/23640] obj-c++ does not call __objc_exec_class for the classes
2005-08-30 17:08 [Bug objc++/23640] New: obj-c++ does not call __objc_exec_class for the classes pinskia at gcc dot gnu dot org
@ 2005-08-30 17:20 ` pinskia at gcc dot gnu dot org
2005-08-30 17:22 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 17:20 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn|23609 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23640
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug objc++/23640] obj-c++ does not call __objc_exec_class for the classes
2005-08-30 17:08 [Bug objc++/23640] New: obj-c++ does not call __objc_exec_class for the classes pinskia at gcc dot gnu dot org
2005-08-30 17:20 ` [Bug objc++/23640] " pinskia at gcc dot gnu dot org
@ 2005-08-30 17:22 ` pinskia at gcc dot gnu dot org
2005-08-30 17:25 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 17:22 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |23609
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23640
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug objc++/23640] obj-c++ does not call __objc_exec_class for the classes
2005-08-30 17:08 [Bug objc++/23640] New: obj-c++ does not call __objc_exec_class for the classes pinskia at gcc dot gnu dot org
2005-08-30 17:20 ` [Bug objc++/23640] " pinskia at gcc dot gnu dot org
2005-08-30 17:22 ` pinskia at gcc dot gnu dot org
@ 2005-08-30 17:25 ` pinskia at gcc dot gnu dot org
2005-08-30 19:21 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 17:25 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |23609
OtherBugsDependingO|23609 |
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23640
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug objc++/23640] obj-c++ does not call __objc_exec_class for the classes
2005-08-30 17:08 [Bug objc++/23640] New: obj-c++ does not call __objc_exec_class for the classes pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-08-30 17:25 ` pinskia at gcc dot gnu dot org
@ 2005-08-30 19:21 ` pinskia at gcc dot gnu dot org
2005-08-30 19:39 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 19:21 UTC (permalink / raw)
To: gcc-bugs
--
Bug 23640 depends on bug 23609, which changed state.
Bug 23609 Summary: all obj-c++ execute tests fails with the GNU runtime
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23609
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23640
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug objc++/23640] obj-c++ does not call __objc_exec_class for the classes
2005-08-30 17:08 [Bug objc++/23640] New: obj-c++ does not call __objc_exec_class for the classes pinskia at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-08-30 19:21 ` pinskia at gcc dot gnu dot org
@ 2005-08-30 19:39 ` pinskia at gcc dot gnu dot org
2005-08-30 19:55 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 19:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-30 19:28 -------
objc_generate_static_init_call nor objc_static_init_needed_p is never called.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23640
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug objc++/23640] obj-c++ does not call __objc_exec_class for the classes
2005-08-30 17:08 [Bug objc++/23640] New: obj-c++ does not call __objc_exec_class for the classes pinskia at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-08-30 19:39 ` pinskia at gcc dot gnu dot org
@ 2005-08-30 19:55 ` pinskia at gcc dot gnu dot org
2005-08-30 19:59 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 19:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-30 19:39 -------
Created an attachment (id=9626)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9626&action=view)
patch which I need to test but should work
I need to test this but this should fix the issue. The problem is that we
don't create ctor function at all because well static_ctors is null.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23640
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug objc++/23640] obj-c++ does not call __objc_exec_class for the classes
2005-08-30 17:08 [Bug objc++/23640] New: obj-c++ does not call __objc_exec_class for the classes pinskia at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-08-30 19:55 ` pinskia at gcc dot gnu dot org
@ 2005-08-30 19:59 ` pinskia at gcc dot gnu dot org
2005-08-31 13:47 ` pinskia at gcc dot gnu dot org
2005-08-31 14:08 ` cvs-commit at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 19:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-30 19:55 -------
Patch posted here: <http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01777.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |08/msg01777.html
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23640
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug objc++/23640] obj-c++ does not call __objc_exec_class for the classes
2005-08-30 17:08 [Bug objc++/23640] New: obj-c++ does not call __objc_exec_class for the classes pinskia at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-08-30 19:59 ` pinskia at gcc dot gnu dot org
@ 2005-08-31 13:47 ` pinskia at gcc dot gnu dot org
2005-08-31 14:08 ` cvs-commit at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 13:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 13:46 -------
Fixed. Most of the rest obj-c++ fails are filed, there are some more which needs to file. I think one is
at least needs library support.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23640
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug objc++/23640] obj-c++ does not call __objc_exec_class for the classes
2005-08-30 17:08 [Bug objc++/23640] New: obj-c++ does not call __objc_exec_class for the classes pinskia at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-08-31 13:47 ` pinskia at gcc dot gnu dot org
@ 2005-08-31 14:08 ` cvs-commit at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-31 14:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-31 13:47 -------
Subject: Bug 23640
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2005-08-31 13:46:07
Modified files:
gcc/cp : ChangeLog decl2.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/obj-c++.dg: gnu-runtime-3.mm
Log message:
2005-08-31 Andrew Pinski <pinskia@physics.uc.edu>
PR obj-c++/23640
* decl2.c (cp_finish_file): If this is obj-c++ and we need a static
init, call generate_ctor_or_dtor_function.
2005-08-31 Andrew Pinski <pinskia@physics.uc.edu>
PR obj-c++/23640
* obj-c++.dg/gnu-runtime-3.mm: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4865&r2=1.4866
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl2.c.diff?cvsroot=gcc&r1=1.794&r2=1.795
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5986&r2=1.5987
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/obj-c++.dg/gnu-runtime-3.mm.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23640
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-08-31 13:47 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-30 17:08 [Bug objc++/23640] New: obj-c++ does not call __objc_exec_class for the classes pinskia at gcc dot gnu dot org
2005-08-30 17:20 ` [Bug objc++/23640] " pinskia at gcc dot gnu dot org
2005-08-30 17:22 ` pinskia at gcc dot gnu dot org
2005-08-30 17:25 ` pinskia at gcc dot gnu dot org
2005-08-30 19:21 ` pinskia at gcc dot gnu dot org
2005-08-30 19:39 ` pinskia at gcc dot gnu dot org
2005-08-30 19:55 ` pinskia at gcc dot gnu dot org
2005-08-30 19:59 ` pinskia at gcc dot gnu dot org
2005-08-31 13:47 ` pinskia at gcc dot gnu dot org
2005-08-31 14:08 ` cvs-commit 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).