glibc/stdio-common
Joseph Myers c81e9deba2 Disable -Wdiv-by-zero for some tests in stdio-common/tst-unlockedio.c.
This patch uses diagnostic control pragmas to disable some
division-by-zero warnings in stdio-common/tst-unlockedio.c.  This is
another test where disabling warnings using diagnostic pragmas seems
appropriate (the warnings are not wildly inappropriate for what the
test deliberately does; the deliberate use of unusual arguments to the
macros being tested means that changing the arguments in a way that
avoids the warning would also unduly perturb what is being tested).

Tested for x86_64.

	* stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
	(do_test): Disable -Wdiv-by-zero around some calls to
	fwrite_unlocked and fread_unlocked.
2014-12-10 00:43:36 +00:00
..
2013-06-05 20:44:03 +00:00
2011-08-20 09:22:16 -04:00
2012-05-24 21:30:43 -06:00
2013-10-12 14:47:50 +02:00
2009-10-30 09:23:24 -07:00
2012-03-08 03:02:24 -05:00
2014-02-28 11:07:43 -08:00