public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/39066] New: DO_GLOBAL_CTORS_BODY needs uintptr_t @ 2009-02-01 17:02 sezeroz at gmail dot com 2009-02-01 17:03 ` [Bug target/39066] " sezeroz at gmail dot com ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: sezeroz at gmail dot com @ 2009-02-01 17:02 UTC (permalink / raw) To: gcc-bugs DO_GLOBAL_CTORS_BODY casts __CTOR_LIST__[0] to unsigned long, probably with the assumption that long is 64 bits on all 64 bit systems, which isn't true for win64. it must cast to uintptr_t, instead. here is the warning: ../../../gcc-svn/libgcc/../gcc/libgcc2.c: In function '__do_global_ctors': ../../../gcc-svn/libgcc/../gcc/libgcc2.c:2161: warning: cast from pointer to integer of different size -- Summary: DO_GLOBAL_CTORS_BODY needs uintptr_t Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sezeroz at gmail dot com GCC target triplet: x86_64-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39066 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/39066] DO_GLOBAL_CTORS_BODY needs uintptr_t 2009-02-01 17:02 [Bug target/39066] New: DO_GLOBAL_CTORS_BODY needs uintptr_t sezeroz at gmail dot com @ 2009-02-01 17:03 ` sezeroz at gmail dot com 2009-02-21 9:56 ` ktietz at gcc dot gnu dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: sezeroz at gmail dot com @ 2009-02-01 17:03 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from sezeroz at gmail dot com 2009-02-01 17:03 ------- Created an attachment (id=17225) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17225&action=view) DO_GLOBAL_CTORS_BODY win64 uintptr_t fix -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39066 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/39066] DO_GLOBAL_CTORS_BODY needs uintptr_t 2009-02-01 17:02 [Bug target/39066] New: DO_GLOBAL_CTORS_BODY needs uintptr_t sezeroz at gmail dot com 2009-02-01 17:03 ` [Bug target/39066] " sezeroz at gmail dot com @ 2009-02-21 9:56 ` ktietz at gcc dot gnu dot org 2009-03-14 15:54 ` nightstrike at gmail dot com 2009-04-13 10:12 ` ktietz at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: ktietz at gcc dot gnu dot org @ 2009-02-21 9:56 UTC (permalink / raw) To: gcc-bugs -- ktietz at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktietz at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-02-21 09:56:31 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39066 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/39066] DO_GLOBAL_CTORS_BODY needs uintptr_t 2009-02-01 17:02 [Bug target/39066] New: DO_GLOBAL_CTORS_BODY needs uintptr_t sezeroz at gmail dot com 2009-02-01 17:03 ` [Bug target/39066] " sezeroz at gmail dot com 2009-02-21 9:56 ` ktietz at gcc dot gnu dot org @ 2009-03-14 15:54 ` nightstrike at gmail dot com 2009-04-13 10:12 ` ktietz at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: nightstrike at gmail dot com @ 2009-03-14 15:54 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from nightstrike at gmail dot com 2009-03-14 15:54 ------- http://gcc.gnu.org/ml/gcc-patches/2009-03/msg00641.html -- nightstrike at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nightstrike at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39066 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/39066] DO_GLOBAL_CTORS_BODY needs uintptr_t 2009-02-01 17:02 [Bug target/39066] New: DO_GLOBAL_CTORS_BODY needs uintptr_t sezeroz at gmail dot com ` (2 preceding siblings ...) 2009-03-14 15:54 ` nightstrike at gmail dot com @ 2009-04-13 10:12 ` ktietz at gcc dot gnu dot org 3 siblings, 0 replies; 5+ messages in thread From: ktietz at gcc dot gnu dot org @ 2009-04-13 10:12 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from ktietz at gcc dot gnu dot org 2009-04-13 10:12 ------- Committed to 4.5 as revision 145999. -- ktietz at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39066 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-04-13 10:12 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-02-01 17:02 [Bug target/39066] New: DO_GLOBAL_CTORS_BODY needs uintptr_t sezeroz at gmail dot com 2009-02-01 17:03 ` [Bug target/39066] " sezeroz at gmail dot com 2009-02-21 9:56 ` ktietz at gcc dot gnu dot org 2009-03-14 15:54 ` nightstrike at gmail dot com 2009-04-13 10:12 ` ktietz 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).