Commit a530498f authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Fix a bug seen with link-time optimizations enabled.

* src/tgbaalgos/ (direct_simulation): Do not store the
original_ automaton as a reference. Otherwise with LTO (+ probably NRVO)
we get a situation where the result automaton (that will be stored in
original_) copies the properties of itself.
parent 94545840
......@@ -720,7 +720,7 @@ namespace spot
std::unique_ptr<scc_info> scc_info_;
const const_tgba_digraph_ptr& original_;
const const_tgba_digraph_ptr original_;
} // End namespace anonymous.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment