public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug boehm-gc/29180] New: boehm-gc/darwin_stop_world.c not 64-bit clean @ 2006-09-22 13:14 howarth at nitro dot med dot uc dot edu 2006-09-22 15:42 ` [Bug boehm-gc/29180] " pinskia at gcc dot gnu dot org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: howarth at nitro dot med dot uc dot edu @ 2006-09-22 13:14 UTC (permalink / raw) To: gcc-bugs Currently boehm-gc/darwin_stop_world.c generates the compiler warning... ../../../../gcc-4.2-20060920/boehm-gc/darwin_stop_world.c:76: warning: cast to pointer from integer of different size The following fix has been discussed on the gcc mailing... http://gcc.gnu.org/ml/gcc/2006-09/msg00409.html http://gcc.gnu.org/ml/gcc/2006-09/msg00410.html http://gcc.gnu.org/ml/gcc/2006-09/msg00413.html and I am currently testing it. The change does allow boehm-gc/darwin_stop_world.c to compile without warnings at both -m32 and -m64 on Darwin PPC. Index: boehm-gc/darwin_stop_world.c =================================================================== --- boehm-gc/darwin_stop_world.c (revision 117142) +++ boehm-gc/darwin_stop_world.c (working copy) @@ -61,7 +61,7 @@ unsigned long savedRTOC; } StackFrame; -unsigned long FindTopOfStack(unsigned int stack_start) { +unsigned long FindTopOfStack(unsigned long stack_start) { StackFrame *frame; if (stack_start == 0) { -- Summary: boehm-gc/darwin_stop_world.c not 64-bit clean Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: boehm-gc AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: howarth at nitro dot med dot uc dot edu GCC build triplet: powerpc-apple-darwin8 GCC host triplet: powerpc-apple-darwin8 GCC target triplet: powerpc-apple-darwin8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29180 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug boehm-gc/29180] boehm-gc/darwin_stop_world.c not 64-bit clean 2006-09-22 13:14 [Bug boehm-gc/29180] New: boehm-gc/darwin_stop_world.c not 64-bit clean howarth at nitro dot med dot uc dot edu @ 2006-09-22 15:42 ` pinskia at gcc dot gnu dot org 2006-09-22 16:11 ` howarth at nitro dot med dot uc dot edu ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-09-22 15:42 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-22 15:42 ------- An import from upstream for boehm-gc will fix this IIRC. Also I don't think the version that is in the SVN has been ported yet. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29180 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug boehm-gc/29180] boehm-gc/darwin_stop_world.c not 64-bit clean 2006-09-22 13:14 [Bug boehm-gc/29180] New: boehm-gc/darwin_stop_world.c not 64-bit clean howarth at nitro dot med dot uc dot edu 2006-09-22 15:42 ` [Bug boehm-gc/29180] " pinskia at gcc dot gnu dot org @ 2006-09-22 16:11 ` howarth at nitro dot med dot uc dot edu 2006-09-26 17:21 ` tromey at gcc dot gnu dot org 2006-09-26 17:23 ` tromey at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: howarth at nitro dot med dot uc dot edu @ 2006-09-22 16:11 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from howarth at nitro dot med dot uc dot edu 2006-09-22 16:11 ------- Andrew, Do you mean from the cvs for bdwgc at http://www.hpl.hp.com/personal/Hans_Boehm/gc/? If so the answer is no, since the cvs code there still has... unsigned long FindTopOfStack(unsigned int stack_start) { ...in darwin_stop_world.c. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29180 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug boehm-gc/29180] boehm-gc/darwin_stop_world.c not 64-bit clean 2006-09-22 13:14 [Bug boehm-gc/29180] New: boehm-gc/darwin_stop_world.c not 64-bit clean howarth at nitro dot med dot uc dot edu 2006-09-22 15:42 ` [Bug boehm-gc/29180] " pinskia at gcc dot gnu dot org 2006-09-22 16:11 ` howarth at nitro dot med dot uc dot edu @ 2006-09-26 17:21 ` tromey at gcc dot gnu dot org 2006-09-26 17:23 ` tromey at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: tromey at gcc dot gnu dot org @ 2006-09-26 17:21 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from tromey at gcc dot gnu dot org 2006-09-26 17:21 ------- Subject: Bug 29180 Author: tromey Date: Tue Sep 26 17:21:32 2006 New Revision: 117232 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117232 Log: 2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu> PR target/29180 * darwin_stop_world.c: Make stack_start unsigned long. Modified: trunk/boehm-gc/ChangeLog trunk/boehm-gc/darwin_stop_world.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29180 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug boehm-gc/29180] boehm-gc/darwin_stop_world.c not 64-bit clean 2006-09-22 13:14 [Bug boehm-gc/29180] New: boehm-gc/darwin_stop_world.c not 64-bit clean howarth at nitro dot med dot uc dot edu ` (2 preceding siblings ...) 2006-09-26 17:21 ` tromey at gcc dot gnu dot org @ 2006-09-26 17:23 ` tromey at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: tromey at gcc dot gnu dot org @ 2006-09-26 17:23 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from tromey at gcc dot gnu dot org 2006-09-26 17:23 ------- Fix checked in. I also forwarded it to Hans. -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at gcc dot gnu dot | |org Status|UNCONFIRMED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29180 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-09-26 17:23 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-09-22 13:14 [Bug boehm-gc/29180] New: boehm-gc/darwin_stop_world.c not 64-bit clean howarth at nitro dot med dot uc dot edu 2006-09-22 15:42 ` [Bug boehm-gc/29180] " pinskia at gcc dot gnu dot org 2006-09-22 16:11 ` howarth at nitro dot med dot uc dot edu 2006-09-26 17:21 ` tromey at gcc dot gnu dot org 2006-09-26 17:23 ` tromey 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).