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

--- Comment #14 from M Joshua Ryan <luser.droog at gmail dot com> ---
Created attachment 36850
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36850&action=edit
gmp component triggering the same error

I've been able to modify some of the gmp sources to avoid this bug, by changing
fp constants to integer. But this one won't work since 1e37 is way outside
`int` range.

josh@LAPTOP-ILO10OOF /tmp/gmp-4.3.2
$ make CFLAGS=-save-temps
make  all-recursive
make[1]: Entering directory '/tmp/gmp-4.3.2'
Making all in tests
make[2]: Entering directory '/tmp/gmp-4.3.2/tests'
Making all in .
make[3]: Entering directory '/tmp/gmp-4.3.2/tests'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/tmp/gmp-4.3.2/tests'
Making all in devel
make[3]: Entering directory '/tmp/gmp-4.3.2/tests/devel'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/devel'
Making all in mpn
make[3]: Entering directory '/tmp/gmp-4.3.2/tests/mpn'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/mpn'
Making all in mpz
make[3]: Entering directory '/tmp/gmp-4.3.2/tests/mpz'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/mpz'
Making all in mpq
make[3]: Entering directory '/tmp/gmp-4.3.2/tests/mpq'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/mpq'
Making all in mpf
make[3]: Entering directory '/tmp/gmp-4.3.2/tests/mpf'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/mpf'
Making all in rand
make[3]: Entering directory '/tmp/gmp-4.3.2/tests/rand'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/rand'
Making all in misc
make[3]: Entering directory '/tmp/gmp-4.3.2/tests/misc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/misc'
Making all in cxx
make[3]: Entering directory '/tmp/gmp-4.3.2/tests/cxx'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/cxx'
Making all in mpbsd
make[3]: Entering directory '/tmp/gmp-4.3.2/tests/mpbsd'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/tmp/gmp-4.3.2/tests/mpbsd'
make[2]: Leaving directory '/tmp/gmp-4.3.2/tests'
Making all in mpn
make[2]: Entering directory '/tmp/gmp-4.3.2/mpn'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo mp_bases | sed 's/_$//'`   
-save-temps -c -o mp_bases.lo mp_bases.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_mp_bases
-save-temps -c mp_bases.c -o mp_bases.o
mp_bases.c:13:13: internal compiler error: Segmentation fault
   /*   1 */ { 0, 1e37, 0 },
             ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Makefile:385: recipe for target 'mp_bases.lo' failed
make[2]: *** [mp_bases.lo] Error 1
make[2]: Leaving directory '/tmp/gmp-4.3.2/mpn'
Makefile:925: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/gmp-4.3.2'
Makefile:666: recipe for target 'all' failed
make: *** [all] Error 2

Reply via email to