public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39064] libiberty md5.h needs uintptr_t
[not found] <bug-39064-4@http.gcc.gnu.org/bugzilla/>
@ 2010-11-17 13:14 ` nightstrike at gmail dot com
2013-01-30 16:51 ` ktietz at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: nightstrike at gmail dot com @ 2010-11-17 13:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39064
--- Comment #4 from nightstrike <nightstrike at gmail dot com> 2010-11-17 13:13:44 UTC ---
*** Bug 46464 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/39064] libiberty md5.h needs uintptr_t
[not found] <bug-39064-4@http.gcc.gnu.org/bugzilla/>
2010-11-17 13:14 ` [Bug target/39064] libiberty md5.h needs uintptr_t nightstrike at gmail dot com
@ 2013-01-30 16:51 ` ktietz at gcc dot gnu.org
2013-01-30 16:57 ` ktietz at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-01-30 16:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39064
--- Comment #5 from Kai Tietz <ktietz at gcc dot gnu.org> 2013-01-30 16:51:03 UTC ---
Author: ktietz
Date: Wed Jan 30 16:50:49 2013
New Revision: 195579
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195579
Log:
PR other/54620
PR target/39064
* md5.h (md5_uintptr, md5_uint32): Define as uintptr_t/uint32_t if
stdint.h and sys/types.h headers are present.
* sha1.h (sha1_uintptr, sha1_uint32): Likewise.
Modified:
trunk/include/ChangeLog
trunk/include/md5.h
trunk/include/sha1.h
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/39064] libiberty md5.h needs uintptr_t
[not found] <bug-39064-4@http.gcc.gnu.org/bugzilla/>
2010-11-17 13:14 ` [Bug target/39064] libiberty md5.h needs uintptr_t nightstrike at gmail dot com
2013-01-30 16:51 ` ktietz at gcc dot gnu.org
@ 2013-01-30 16:57 ` ktietz at gcc dot gnu.org
2013-01-30 16:58 ` ktietz at gcc dot gnu.org
2013-01-30 17:00 ` ktietz at gcc dot gnu.org
4 siblings, 0 replies; 9+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-01-30 16:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39064
--- Comment #6 from Kai Tietz <ktietz at gcc dot gnu.org> 2013-01-30 16:56:50 UTC ---
Author: ktietz
Date: Wed Jan 30 16:56:36 2013
New Revision: 195580
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195580
Log:
2013-01-30 Kai Tietz <ktietz@redhat.com>
PR other/54620
PR target/39064
* md5.h (md5_uintptr, md5_uint32): Define as uintptr_t/uint32_t if
stdint.h and sys/types.h headers are present.
* sha1.h (sha1_uintptr, sha1_uint32): Likewise.
Modified:
branches/gcc-4_7-branch/include/ChangeLog
branches/gcc-4_7-branch/include/md5.h
branches/gcc-4_7-branch/include/sha1.h
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/39064] libiberty md5.h needs uintptr_t
[not found] <bug-39064-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2013-01-30 16:57 ` ktietz at gcc dot gnu.org
@ 2013-01-30 16:58 ` ktietz at gcc dot gnu.org
2013-01-30 17:00 ` ktietz at gcc dot gnu.org
4 siblings, 0 replies; 9+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-01-30 16:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39064
--- Comment #7 from Kai Tietz <ktietz at gcc dot gnu.org> 2013-01-30 16:58:22 UTC ---
Author: ktietz
Date: Wed Jan 30 16:58:10 2013
New Revision: 195581
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195581
Log:
PR other/54620
PR target/39064
* md5.h (md5_uintptr, md5_uint32): Define as uintptr_t/uint32_t if
stdint.h and sys/types.h headers are present.
* sha1.h (sha1_uintptr, sha1_uint32): Likewise.
Modified:
branches/gcc-4_6-branch/include/ChangeLog
branches/gcc-4_6-branch/include/md5.h
branches/gcc-4_6-branch/include/sha1.h
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/39064] libiberty md5.h needs uintptr_t
[not found] <bug-39064-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2013-01-30 16:58 ` ktietz at gcc dot gnu.org
@ 2013-01-30 17:00 ` ktietz at gcc dot gnu.org
4 siblings, 0 replies; 9+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-01-30 17:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39064
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #8 from Kai Tietz <ktietz at gcc dot gnu.org> 2013-01-30 17:00:12 UTC ---
Fixed
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/39064] New: libiberty md5.h needs uintptr_t
@ 2009-02-01 16:56 sezeroz at gmail dot com
2009-02-01 16:57 ` [Bug target/39064] " sezeroz at gmail dot com
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: sezeroz at gmail dot com @ 2009-02-01 16:56 UTC (permalink / raw)
To: gcc-bugs
md5.h of libiberty assumes unsigned long to be of equal size to the size
of a pointer, but that isn't true for all sys tems (ie. win64). this patch
is a workaround for that, probably ugly, but md5.h should include stdint.h
not for _LIBC only.. here is the generated warning:
../../../gcc-svn/libiberty/md5.c: In function 'md5_process_bytes':
../../../gcc-svn/libiberty/md5.c:234: warning: cast from pointer to integer of
different size
(the patch should also be applied to binutils and gdb, or whoever else uses
libiberty)
--
Summary: libiberty md5.h 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=39064
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-01-30 17:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-39064-4@http.gcc.gnu.org/bugzilla/>
2010-11-17 13:14 ` [Bug target/39064] libiberty md5.h needs uintptr_t nightstrike at gmail dot com
2013-01-30 16:51 ` ktietz at gcc dot gnu.org
2013-01-30 16:57 ` ktietz at gcc dot gnu.org
2013-01-30 16:58 ` ktietz at gcc dot gnu.org
2013-01-30 17:00 ` ktietz at gcc dot gnu.org
2009-02-01 16:56 [Bug target/39064] New: " sezeroz at gmail dot com
2009-02-01 16:57 ` [Bug target/39064] " sezeroz at gmail dot com
2009-02-21 9:54 ` ktietz at gcc dot gnu dot org
2009-03-14 15:47 ` nightstrike at gmail dot com
2009-09-03 10:10 ` sezeroz at gmail dot com
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).