aboutsummaryrefslogtreecommitdiff
path: root/libiberty/md5.c
AgeCommit message (Collapse)AuthorFilesLines
2013-01-31 PR other/543413Kai Tietz1-2/+1
* md5.c (md5_process_block): Handle case that size_t is a wider-integer-scalar a 32-bit unsigned integer.
2012-07-31libiberty/md5: fix strict alias warningsMike Frysinger1-4/+8
Current libiberty md5 code triggers these warnings with gcc-4.7.1 for me: libiberty/md5.c: In function ‘md5_finish_ctx’: libiberty/md5.c:117:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libiberty/md5.c:118:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] The change below fixes things for me. The optimized output (-O2) is the same before/after my change on x86_64-linux. I imagine it'll be the same for most targets. It seems simpler than using a union on the md5_ctx buffer since these are the only two locations in the code where this occurs.
2011-09-23merge from gccDJ Delorie1-4/+6
2011-08-12merge from gccDJ Delorie1-6/+10
2008-03-11merge from gccDJ Delorie1-1/+2
2005-07-03merge from gccDJ Delorie1-0/+17
2005-05-10Update the address and phone number of the FSF organization.Nick Clifton1-1/+1
2005-03-28merge from gccDJ Delorie1-23/+7
2002-11-16 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must beJakub Jelinek1-50/+58
used with arguments in traditional C' warnings.
2002-09-20merge from gccDJ Delorie1-3/+3
2001-05-09merge from gccDJ Delorie1-68/+68
2000-12-29* fnmatch.c: Make the note about the origins of this file moreDJ Delorie1-2/+3
accurate, at least until we can sync with glibc. * getopt.c: Ditto. * getopt1.c: Ditto. * md5.c: Ditto. * obstack.c: Ditto.
2000-09-26* md5.c: #include "ansidecl.h".DJ Delorie1-0/+1
2000-09-22 * Makefile.in (REQUIRED_OFILES): Add md5.o.Jason Merrill1-0/+419
(CFILES): Add md5.c. * md5.c: New file.