Fix a bug seen with link-time optimizations enabled.
* src/tgbaalgos/simulation.cc (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.
This commit is contained in:
parent
9454584074
commit
a530498fbd
1 changed files with 1 additions and 1 deletions
|
|
@ -720,7 +720,7 @@ namespace spot
|
||||||
|
|
||||||
std::unique_ptr<scc_info> scc_info_;
|
std::unique_ptr<scc_info> scc_info_;
|
||||||
|
|
||||||
const const_tgba_digraph_ptr& original_;
|
const const_tgba_digraph_ptr original_;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // End namespace anonymous.
|
} // End namespace anonymous.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue