← Back to team overview

opencog-dev team mailing list archive

ICE on TruthValueUTest

 

Since the change to using optimisation level 3 (-O3) I get an internal
compiler error on TruthValueUTest

My version of gcc:
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)

The output:

In file included from /usr/include/cxxtest/Root.cpp:16,
                 from
/home/joel/src/opencog/joel/bin/tests/atomspace/TruthValueUTest.cpp:67:
/home/joel/src/opencog/joel/tests/atomspace/TruthValueUTest.cxxtest:
In member function 'void TruthValueUTest::testMerge()':
/home/joel/src/opencog/joel/tests/atomspace/TruthValueUTest.cxxtest:135:
internal compiler error: in coalesce_abnormal_edges, at
tree-outof-ssa.c:643

Does anyone else with a up to date Ubuntu Hardy get this? Would be
nice to know before I submit a bug report whether it's x64 specific or
not...

Apparently this has been fixed in later gcc development versions, but
I'm not so keen on using those. In the mean time, switching down to
-O2 for that test seems to fix things.

J



Follow ups