https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91472

            Bug ID: 91472
           Summary: gmp testsuite segfaults with gcc-8 and gcc-9, works
                    fine with gcc-7
           Product: gcc
           Version: 8.0
               URL: https://buildd.debian.org/status/fetch.php?pkg=gmp&arc
                    h=sparc64&ver=2%3A6.1.2%2Bdfsg-4&stamp=1565898628&raw=
                    0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: glaubitz at physik dot fu-berlin.de
                CC: ebotcazou at gcc dot gnu.org, jrtc27 at jrtc27 dot com,
                    matorola at gmail dot com
  Target Milestone: ---
              Host: sparc64-*-*

Starting from gcc-8, the testsuite of gmp fails with the test segfaulting:

PASS: t-divis_2exp
PASS: t-cong
PASS: t-cong_2exp
PASS: t-sizeinbase
PASS: t-set_str
PASS: t-aorsmul
../../test-driver: line 107: 227694 Segmentation fault      "$@" > $log_file
2>&1
FAIL: t-cmp_d
PASS: t-cmp_si
PASS: t-hamdist
PASS: t-oddeven
PASS: t-popcount
PASS: t-set_f
PASS: t-io_raw
PASS: t-import
PASS: t-export
PASS: t-pprime_p
PASS: t-nextprime
PASS: t-remove
PASS: t-limbs
============================================================================
Testsuite summary for GNU MP 6.1.99
============================================================================
# TOTAL: 64
# PASS:  63
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/mpz/test-suite.log
Please report to gmp-b...@gmplib.org, see
https://gmplib.org/manual/Reporting-Bugs.html
============================================================================

The same gmp builds and tests fine with gcc-7.

Reply via email to