From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23199 invoked by alias); 14 Jan 2012 08:12:49 -0000 Received: (qmail 23189 invoked by uid 22791); 14 Jan 2012 08:12:46 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 14 Jan 2012 08:12:33 +0000 From: "julien at trigofacile dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/51853] MPFR assertion failure with Python: p >= 2 && p <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1)) Date: Sat, 14 Jan 2012 08:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: julien at trigofacile dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Component Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-01/txt/msg01614.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51853 Julien =C3=89LIE changed: What |Removed |Added ---------------------------------------------------------------------------- Component|target |c --- Comment #2 from Julien =C3=89LIE 2012-0= 1-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-prototyp= es=20 -I. -IInclude -I./Include -DPy_BUILD_CORE -o Objects/longobject.o Objects/longobject.c Using built-in specs. COLLECT_GCC=3D/home/iulius/autobuild/bin/gcc-core-4.6.2/bin/gcc COLLECT_LTO_WRAPPER=3D/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=3D/home/iulius/autobuild/bin/gcc-core-4.6.2 --with-gmp=3D/home/iulius/autobuild/bin/gmp-5.0.2 --with-mpfr=3D/home/iulius/autobuild/bin/mpfr-3.1.0 --with-mpc=3D/home/iulius/autobuild/bin/mpc-0.9 --disable-nls --enable-threads=3Dposix --disable-multilib Thread model: posix gcc version 4.6.2 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-v' '-save-temps' '-pthread' '-c' '-fno-strict-alias= ing' '-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-gn= u/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=3D'-v' '-save-temps' '-pthread' '-c' '-fno-strict-alias= ing' '-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=3D100 --param ggc-min-heapsize=3D131= 072 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=3D100 --param ggc-min-heapsize=3D131= 072 Compiler executable checksum: 6576c6dbf099889f96aaa25f3debe8a2 init2.c:52: MPFR assertion failed: p >=3D 2 && p <=3D ((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 for instructions.