[Dune] [#493] test failure: dune-common/common/test/sllisttest

Dune dune at dune-project.org
Thu Feb 5 22:19:15 CET 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Elias Pipping (pipping) 

Attached to Project - Dune
Summary - test failure: dune-common/common/test/sllisttest
Task Type - Bug Report
Category - Common
Status - Unconfirmed
Assigned To - 
Operating System - Linux 64bit
Severity - Low
Priority - Normal
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - sllisttest fails with some optimization.

It works with -O0, -O1, -Os but not -O2 (and -O3).

After a bit of playing around I've found the minimal combination of flags to trigger a test failure:

CXXFLAGS="-O1 -fgcse -fschedule-insns -fstrict-aliasing -ftree-vrp"
make clean;
make -j3 CXXFLAGS="${CXXFLAGS}" && (
  cd common/test/ &&
  rm -f sllisttest &&
  make -j3 CXXFLAGS="${CXXFLAGS}" sllisttest &&
  ./sllisttest
)

Testing ConstIterator 
Testing Iterator 
Testing Iterator 
 Test PushPop
Entry should be 1, but is 0! Push back failed! sllisttest.cc:361
sllisttest: ../../dune/common/sllist.hh:752: void Dune::SLList<T, A>::clear() [with T = int, A = Dune::PoolAllocator<int, 8176ul>]: Assertion `size_==0' failed.

If any of the flags -fgcse -fschedule-insns -fstrict-aliasing -ftree-vrp is dropped, the test succeeds

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=493

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list