t-assign & t-constr
marc.glisse at inria.fr
Wed Jan 11 19:52:30 CET 2012
On Wed, 11 Jan 2012, Novak, Sam wrote:
> I have a self-compiled version of gcc-4.7 that I'm using as my compiler on a powermac G5 quad core.
> CC=~/Desktop/gccbuild/bin/gcc CXX=~/Desktop/gccbuild/bin/g++ CPP=~/Desktop/gccbuild/bin/cpp CFLAGS="-O3 -mcpu=G5 -mtune=G5 -pthread" CXXFLAGS="-O3 -mcpu=G5 -mtune=G5 -pthread" LDFLAGS="-L/Users/adm/Desktop/lib32/lib" CPPFLAGS="-I/Users/adm/Desktop/lib32/include -fexceptions" ./configure --with-gnu-ld --enable-cxx --prefix=/Users/adm/Desktop/lib32/
> Everything compiles correctly but the two tests in the subject never finish. I even let them run overnight and they were still going the next morning.
The tests should be extremely fast, there is no need to let them run. One
thing you could do is pick one of those 2 tests (the files are in
tests/cxx/) and reduce it as much as you can while still exhibiting the
issue (they are really lists of tests pasted together in a single file, so
they should be easy to reduce).
The most likely reason for the issue is a compiler bug.
More information about the gmp-bugs