summaryrefslogtreecommitdiff
path: root/libiberty/md5.c
Commit message (Collapse)AuthorAgeFilesLines
* libiberty/md5: fix strict alias warningsMike Frysinger2012-07-311-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.
* merge from gccDJ Delorie2011-09-231-4/+6
|
* merge from gccDJ Delorie2011-08-121-6/+10
|
* merge from gccDJ Delorie2008-03-111-1/+2
|
* merge from gccDJ Delorie2005-07-031-0/+17
|
* Update the address and phone number of the FSF organization.Nick Clifton2005-05-101-1/+1
|
* merge from gccDJ Delorie2005-03-281-23/+7
|
* * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must beJakub Jelinek2002-11-161-50/+58
| | | | used with arguments in traditional C' warnings.
* merge from gccDJ Delorie2002-09-201-3/+3
|
* merge from gccDJ Delorie2001-05-091-68/+68
|
* * fnmatch.c: Make the note about the origins of this file moreDJ Delorie2000-12-291-2/+3
| | | | | | | | accurate, at least until we can sync with glibc. * getopt.c: Ditto. * getopt1.c: Ditto. * md5.c: Ditto. * obstack.c: Ditto.
* * md5.c: #include "ansidecl.h".DJ Delorie2000-09-261-0/+1
|
* * Makefile.in (REQUIRED_OFILES): Add md5.o.Jason Merrill2000-09-221-0/+419
(CFILES): Add md5.c. * md5.c: New file.