[patch, libfortran] Silence compiler warning

Thomas Koenig tkoenig@netcologne.de
Tue May 13 20:15:00 GMT 2008


Hello world,

the patch below silences the only compiler warning on i686-pc-linux-gnu
when building libfortran, about the possibility of "type" being
clobbered by setjmp / longjmp.

I'll commit within 24 hours as obvious unless anybody objects.

	Thomas

2008-05-13  Thomas Koenig  <tkoenig@gcc.gnu.org>

	* io/list_read.c (list_formatted_read_scalar):  Declare
	type as volatile to shut up compiler warning.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: volatile.diff
Type: text/x-patch
Size: 635 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080513/62311adb/attachment.bin>


More information about the Gcc-patches mailing list