I installed http://www.mpfr.org/mpfr-current/mpfr-2.2.1.tar.bz2 and applied the most recent patches. My version is 2.2.1-p5 .
I get this as a result of "make -i check": FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c -O0 scan-tree-dump pow FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c -O1 scan-tree-dump pow FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c -O2 scan-tree-dump pow FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c -O3 -fomit-frame-pointer scan-tree-dump pow FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c -O3 -g scan-tree-dump pow FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c -Os scan-tree-dump pow Here are a couple of my results from a while ago, and recent: Results for 4.3.0 20070601 (experimental) testsuite on i686-pc-linux-gnu http://gcc.gnu.org/ml/gcc-testresults/2007-06/msg00073.html Results for 4.3.0 20070521 (experimental) testsuite on i686-pc-linux-gnu http://gcc.gnu.org/ml/gcc-testresults/2007-05/msg01083.html Here are some other people's results - some used the --with-mpfr option: Compiled using "--with-mpfr=/remote/atg5/jbuck/mpfr-linux" : Results for 4.3.0 20070608 (experimental) testsuite on i686-pc-linux-gnu http://gcc.gnu.org/ml/gcc-testresults/2007-06/msg00396.html Results for 4.3.0 20070608 (experimental) testsuite on ia64-suse-linux-gnu http://gcc.gnu.org/ml/gcc-testresults/2007-06/msg00391.html Compiled using "--with-gmp=/opt/gcc-nightly/gmp-mpfr --with-mpfr=/opt/gcc-nightly/gmp-mpfr": Results for 4.3.0 20070608 (experimental) testsuite on powerpc64-unknown-linux-gnu http://gcc.gnu.org/ml/gcc-testresults/2007-06/msg00387.html The other people don't seem to have this error occur. I have no reason to think they are using a more recent version of mpfr - since there is none. Perhaps they are using an older version. Looking at the surrounding log entries (edited for similarity of test type): Executing on host: /opt/gcc-4_3-build-2/gcc/xgcc -B/opt/gcc-4_3-build-2/gcc/ /root/downloads/gcc-4_3-trunk/gcc/testsuite/gcc.dg/torture/builtin-noret-2.c -Os -fno-show-column -lm -o builtin-noret-2.exe (timeout = 300) PASS: gcc.dg/torture/builtin-noret-2.c -Os (test for excess errors) Executing on host: /opt/gcc-4_3-build-2/gcc/xgcc -B/opt/gcc-4_3-build-2/gcc/ /root/downloads/gcc-4_3-trunk/gcc/testsuite/gcc.dg/torture/builtin-pow-mpfr-1.c -Os -fdump-tree-original -fno-show-column -S -o builtin-pow-mpfr-1.s (timeout = 300) PASS: gcc.dg/torture/builtin-pow-mpfr-1.c -Os (test for excess errors) FAIL: gcc.dg/torture/builtin-pow-mpfr-1.c -Os scan-tree-dump pow Executing on host: /opt/gcc-4_3-build-2/gcc/xgcc -B/opt/gcc-4_3-build-2/gcc/ /root/downloads/gcc-4_3-trunk/gcc/testsuite/gcc.dg/torture/builtin-power-1.c -Os -ffast-math -fno-show-column -lm -o builtin-power-1.exe (timeout = 300) PASS: gcc.dg/torture/builtin-power-1.c -Os (test for excess errors) I notice that this one test is applied differently than the surrounding ones. With the constant folding difficulties we are having at the moment (on i686-pc-linux-gnu) we might want to check the folding on the other tests too. -- Summary: Testsuite reports - FAIL: gcc.dg/torture/builtin-pow- mpfr-1.c Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rob1weld at aol dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32258