summaryrefslogtreecommitdiff
path: root/tests/tpow_all.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2017-05-09 10:47:36 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2017-05-09 10:47:36 +0000
commit47e6c433f0be487d36587f4a18ddcc379ae00d79 (patch)
tree8aa3f54d76cc6b887dee0321e8a59361d20fd78c /tests/tpow_all.c
parent2e91622cefd5f891e4849111210b9b63fe8e2bd3 (diff)
downloadmpfr-47e6c433f0be487d36587f4a18ddcc379ae00d79.tar.gz
fixed bugs found by gcc 7.1.0 (-Werror=format-overflow=)
[VL] The MPFR code was correct. This is actually a bug in GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79257 git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11469 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tpow_all.c')
-rw-r--r--tests/tpow_all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tpow_all.c b/tests/tpow_all.c
index ac699aa75..7a7d1ad6b 100644
--- a/tests/tpow_all.c
+++ b/tests/tpow_all.c
@@ -494,7 +494,7 @@ underflow_up1 (void)
for (i = 0; i <= 12; i++)
{
unsigned int flags = 0;
- char sy[16];
+ char sy[20];
/* Test 2^(emin - i/4).
* --> Underflow iff i > 4.