aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-12-10 00:43:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-12-10 00:43:36 +0000
commitc81e9deba2f73ddc6f62a9d41684824c854366c6 (patch)
tree299afb1952fcd068b405612940a968d354aaaf2d /Makeconfig
parent2084e7ca4d344c39eb39e53848b51b5d84444414 (diff)
downloadglibc-c81e9deba2f73ddc6f62a9d41684824c854366c6.tar
glibc-c81e9deba2f73ddc6f62a9d41684824c854366c6.tar.gz
glibc-c81e9deba2f73ddc6f62a9d41684824c854366c6.tar.bz2
glibc-c81e9deba2f73ddc6f62a9d41684824c854366c6.zip
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.
Diffstat (limited to 'Makeconfig')
0 files changed, 0 insertions, 0 deletions