This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/51853] MPFR assertion failure with Python: p >= 2 && p <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
- From: "julien at trigofacile dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 14 Jan 2012 08:12:29 +0000
- Subject: [Bug c/51853] MPFR assertion failure with Python: p >= 2 && p <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
- Auto-submitted: auto-generated
- References: <bug-51853-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51853
Julien ÃLIE <julien at trigofacile dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|target |c
--- Comment #2 from Julien ÃLIE <julien at trigofacile dot com> 2012-01-14 08:12:29 UTC ---
longobject.i is attached.
Here is the result of "gcc -save-temps":
$ /home/iulius/autobuild/bin/gcc-core-4.6.2/bin/gcc -v -save-temps -pthread -c
-fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-I. -IInclude -I./Include -DPy_BUILD_CORE -o Objects/longobject.o
Objects/longobject.c
Using built-in specs.
COLLECT_GCC=/home/iulius/autobuild/bin/gcc-core-4.6.2/bin/gcc
COLLECT_LTO_WRAPPER=/home/iulius/autobuild/bin/gcc-core-4.6.2/libexec/gcc/hppa2.0-unknown-linux-gnu/4.6.2/lto-wrapper
Target: hppa2.0-unknown-linux-gnu
Configured with: ../gcc-core-4.6.2-src/configure
--prefix=/home/iulius/autobuild/bin/gcc-core-4.6.2
--with-gmp=/home/iulius/autobuild/bin/gmp-5.0.2
--with-mpfr=/home/iulius/autobuild/bin/mpfr-3.1.0
--with-mpc=/home/iulius/autobuild/bin/mpc-0.9 --disable-nls
--enable-threads=posix --disable-multilib
Thread model: posix
gcc version 4.6.2 (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-pthread' '-c' '-fno-strict-aliasing'
'-g' '-O2' '-D' 'NDEBUG' '-g' '-fwrapv' '-O3' '-Wall' '-Wstrict-prototypes'
'-I' '.' '-I' 'Include' '-I' './Include' '-D' 'Py_BUILD_CORE' '-o'
'Objects/longobject.o'
/home/iulius/autobuild/bin/gcc-core-4.6.2/libexec/gcc/hppa2.0-unknown-linux-gnu/4.6.2/cc1
-E -quiet -v -I . -I Include -I ./Include -D NDEBUG -D Py_BUILD_CORE
Objects/longobject.c -Wall -Wstrict-prototypes -fno-strict-aliasing -fwrapv -g
-g -fworking-directory -O2 -O3 -fpch-preprocess -o longobject.i
ignoring nonexistent directory
"/home/iulius/autobuild/bin/gcc-core-4.6.2/lib/gcc/hppa2.0-unknown-linux-gnu/4.6.2/../../../../hppa2.0-unknown-linux-gnu/include"
ignoring duplicate directory "./Include"
#include "..." search starts here:
#include <...> search starts here:
.
Include
/home/iulius/autobuild/bin/gcc-core-4.6.2/lib/gcc/hppa2.0-unknown-linux-gnu/4.6.2/include
/usr/local/include
/home/iulius/autobuild/bin/gcc-core-4.6.2/include
/home/iulius/autobuild/bin/gcc-core-4.6.2/lib/gcc/hppa2.0-unknown-linux-gnu/4.6.2/include-fixed
/usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-pthread' '-c' '-fno-strict-aliasing'
'-g' '-O2' '-D' 'NDEBUG' '-g' '-fwrapv' '-O3' '-Wall' '-Wstrict-prototypes'
'-I' '.' '-I' 'Include' '-I' './Include' '-D' 'Py_BUILD_CORE' '-o'
'Objects/longobject.o'
/home/iulius/autobuild/bin/gcc-core-4.6.2/libexec/gcc/hppa2.0-unknown-linux-gnu/4.6.2/cc1
-fpreprocessed longobject.i -quiet -dumpbase longobject.c -auxbase-strip
Objects/longobject.o -g -g -O2 -O3 -Wall -Wstrict-prototypes -version
-fno-strict-aliasing -fwrapv -o longobject.s
GNU C (GCC) version 4.6.2 (hppa2.0-unknown-linux-gnu)
compiled by GNU C version 4.6.2, GMP version 5.0.2, MPFR version 3.1.0, MPC
version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C (GCC) version 4.6.2 (hppa2.0-unknown-linux-gnu)
compiled by GNU C version 4.6.2, GMP version 5.0.2, MPFR version 3.1.0, MPC
version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 6576c6dbf099889f96aaa25f3debe8a2
init2.c:52: MPFR assertion failed: p >= 2 && p <=
((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
Objects/longobject.c: In function 'PyLong_FromString':
Objects/longobject.c:1852:43: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.