From: | "Thomas Kahle (tomka)" <tomka@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-libs/mpir/files: mpir-2.6.0-gcc48.patch |
Date: | Wed, 22 May 2013 16:20:37 |
Message-Id: | 20130522162034.53A602171E@flycatcher.gentoo.org |
1 | tomka 13/05/22 16:20:34 |
2 | |
3 | Added: mpir-2.6.0-gcc48.patch |
4 | Log: |
5 | fix tests with gcc-4.8 (bug 470838) |
6 | |
7 | (Portage version: 2.1.12.1/cvs/Linux x86_64, signed Manifest commit with key 0x89DEB219565C32BC!) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sci-libs/mpir/files/mpir-2.6.0-gcc48.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/files/mpir-2.6.0-gcc48.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mpir/files/mpir-2.6.0-gcc48.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: mpir-2.6.0-gcc48.patch |
16 | =================================================================== |
17 | https://bugs.gentoo.org/470838 |
18 | |
19 | --- a/tests/mpz/t-scan.c |
20 | +++ b/tests/mpz/t-scan.c |
21 | @@ -84,7 +84,7 @@ check_ref (void) |
22 | |
23 | for (isize = 0; isize <= size; isize++) |
24 | { |
25 | - for (oindex = 0; oindex <= numberof (offset); oindex++) |
26 | + for (oindex = 0; oindex < numberof (offset); oindex++) |
27 | { |
28 | o = offset[oindex]; |
29 | if ((int) isize*GMP_NUMB_BITS < -o) |