public inbox for src-cvs@sourceware.org
help / color / mirror / Atom feed
* src/libiberty ChangeLog md5.c
@ 2012-11-28 20:00 vapier
  0 siblings, 0 replies; 10+ messages in thread
From: vapier @ 2012-11-28 20:00 UTC (permalink / raw)
  To: src-cvs

CVSROOT:	/cvs/src
Module name:	src
Branch: 	gdb_7_5-branch
Changes by:	vapier@sourceware.org	2012-11-28 20:00:48

Modified files:
	libiberty      : ChangeLog md5.c 

Log message:
	libiberty/md5: fix strict alias warnings
	
	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.
	
	(cherry picked from current cvs HEAD)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_5-branch&r1=1.609&r2=1.609.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/md5.c.diff?cvsroot=src&only_with_tag=gdb_7_5-branch&r1=1.12&r2=1.12.4.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* src/libiberty ChangeLog md5.c
@ 2013-01-31  8:10 ktietz
  0 siblings, 0 replies; 10+ messages in thread
From: ktietz @ 2013-01-31  8:10 UTC (permalink / raw)
  To: src-cvs

CVSROOT:	/cvs/src
Module name:	src
Changes by:	ktietz@sourceware.org	2013-01-31 08:10:38

Modified files:
	libiberty      : ChangeLog md5.c 

Log message:
	PR other/543413
	* md5.c (md5_process_block):  Handle case that size_t is
	a wider-integer-scalar a 32-bit unsigned integer.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&r1=1.618&r2=1.619
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/md5.c.diff?cvsroot=src&r1=1.13&r2=1.14


^ permalink raw reply	[flat|nested] 10+ messages in thread

* src/libiberty ChangeLog md5.c
@ 2012-08-01  2:46 vapier
  0 siblings, 0 replies; 10+ messages in thread
From: vapier @ 2012-08-01  2:46 UTC (permalink / raw)
  To: src-cvs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1199 bytes --]

CVSROOT:	/cvs/src
Module name:	src
Branch: 	binutils-2_23-branch
Changes by:	vapier@sourceware.org	2012-08-01 02:46:25

Modified files:
	libiberty      : ChangeLog md5.c 

Log message:
	libiberty/md5: fix strict alias warnings
	
	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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_23-branch&r1=1.611&r2=1.611.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/md5.c.diff?cvsroot=src&only_with_tag=binutils-2_23-branch&r1=1.12&r2=1.12.6.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* src/libiberty ChangeLog md5.c
@ 2012-07-31  9:02 vapier
  0 siblings, 0 replies; 10+ messages in thread
From: vapier @ 2012-07-31  9:02 UTC (permalink / raw)
  To: src-cvs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]

CVSROOT:	/cvs/src
Module name:	src
Changes by:	vapier@sourceware.org	2012-07-31 09:02:35

Modified files:
	libiberty      : ChangeLog md5.c 

Log message:
	libiberty/md5: fix strict alias warnings
	
	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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&r1=1.611&r2=1.612
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/md5.c.diff?cvsroot=src&r1=1.12&r2=1.13


^ permalink raw reply	[flat|nested] 10+ messages in thread

* src/libiberty ChangeLog md5.c
@ 2011-09-23 20:01 dj
  0 siblings, 0 replies; 10+ messages in thread
From: dj @ 2011-09-23 20:01 UTC (permalink / raw)
  To: src-cvs

CVSROOT:	/cvs/src
Module name:	src
Changes by:	dj@sourceware.org	2011-09-23 20:01:11

Modified files:
	libiberty      : ChangeLog md5.c 

Log message:
	merge from gcc

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&r1=1.584&r2=1.585
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/md5.c.diff?cvsroot=src&r1=1.11&r2=1.12


^ permalink raw reply	[flat|nested] 10+ messages in thread

* src/libiberty ChangeLog md5.c
@ 2011-08-12 18:44 dj
  0 siblings, 0 replies; 10+ messages in thread
From: dj @ 2011-08-12 18:44 UTC (permalink / raw)
  To: src-cvs

CVSROOT:	/cvs/src
Module name:	src
Changes by:	dj@sourceware.org	2011-08-12 18:44:43

Modified files:
	libiberty      : ChangeLog md5.c 

Log message:
	merge from gcc

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&r1=1.582&r2=1.583
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/md5.c.diff?cvsroot=src&r1=1.10&r2=1.11


^ permalink raw reply	[flat|nested] 10+ messages in thread

* src/libiberty ChangeLog md5.c
@ 2008-03-11 16:11 dj
  0 siblings, 0 replies; 10+ messages in thread
From: dj @ 2008-03-11 16:11 UTC (permalink / raw)
  To: src-cvs

CVSROOT:	/cvs/src
Module name:	src
Changes by:	dj@sourceware.org	2008-03-11 16:11:55

Modified files:
	libiberty      : ChangeLog md5.c 

Log message:
	merge from gcc

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&r1=1.446&r2=1.447
http://sourceware.org/cgi-bin/cvsweb.cgi/src/libiberty/md5.c.diff?cvsroot=src&r1=1.9&r2=1.10


^ permalink raw reply	[flat|nested] 10+ messages in thread

* src/libiberty ChangeLog md5.c
@ 2002-11-16  4:39 jakub
  0 siblings, 0 replies; 10+ messages in thread
From: jakub @ 2002-11-16  4:39 UTC (permalink / raw)
  To: src-cvs

CVSROOT:	/cvs/src
Module name:	src
Changes by:	jakub@sourceware.org	2002-11-16 04:39:58

Modified files:
	libiberty      : ChangeLog md5.c 

Log message:
	* md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
	used with arguments in traditional C' warnings.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&r1=1.178&r2=1.179
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/md5.c.diff?cvsroot=src&r1=1.5&r2=1.6


^ permalink raw reply	[flat|nested] 10+ messages in thread

* src/libiberty ChangeLog md5.c
@ 2001-05-09 13:08 dj
  0 siblings, 0 replies; 10+ messages in thread
From: dj @ 2001-05-09 13:08 UTC (permalink / raw)
  To: src-cvs

CVSROOT:	/cvs/src
Module name:	src
Changes by:	dj@sources.redhat.com	2001-05-09 13:08:48

Modified files:
	libiberty      : ChangeLog md5.c 

Log message:
	merge from gcc

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&r1=1.82&r2=1.83
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/md5.c.diff?cvsroot=src&r1=1.3&r2=1.4


^ permalink raw reply	[flat|nested] 10+ messages in thread

* src/libiberty ChangeLog md5.c
@ 2000-09-25 18:39 dj
  0 siblings, 0 replies; 10+ messages in thread
From: dj @ 2000-09-25 18:39 UTC (permalink / raw)
  To: src-cvs

CVSROOT:	/cvs/src
Module name:	src
Changes by:	dj@sourceware.cygnus.com	2000-09-25 18:39:17

Modified files:
	libiberty      : ChangeLog md5.c 

Log message:
	* md5.c: #include "ansidecl.h".

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&r1=1.40&r2=1.41
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/md5.c.diff?cvsroot=src&r1=1.1&r2=1.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-01-31  8:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-28 20:00 src/libiberty ChangeLog md5.c vapier
  -- strict thread matches above, loose matches on Subject: below --
2013-01-31  8:10 ktietz
2012-08-01  2:46 vapier
2012-07-31  9:02 vapier
2011-09-23 20:01 dj
2011-08-12 18:44 dj
2008-03-11 16:11 dj
2002-11-16  4:39 jakub
2001-05-09 13:08 dj
2000-09-25 18:39 dj

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).