bin: release all subformulas between runs

Fixes #262, reported by Maximilien Colange.

* bin/common_output.cc, bin/common_aoutput.cc, bin/common_aoutput.hh:
Clear the set of atomic propositions if --stats=%[...]x was used.
* spot/twa/bdddict.cc: Release any formula associated to a BDD when it
is unregistered, do not wait for the dictionary's destruction.  This
was the main culprit for #262.
* tests/core/ltl2tgba.test: Add test cases.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2017-05-18 16:46:11 +02:00
parent cdef3d69f0
commit acdaaac4f0
6 changed files with 42 additions and 11 deletions

6
NEWS
View file

@ -85,6 +85,12 @@ New in spot 2.3.4.dev (not yet released)
names from another automaton, honoring "original-states" if
present.
Bugs fixed:
- We have fixed new cases where translating multiple formula in a
single ltl2tgba run could produce automata different from those
produced by individual runs.
Backward-incompatible changes:
- spot::acc_cond::mark_t::operator bool() has been marked as