Closed tobiasleibner closed 4 years ago
Do you happen to be remember which compiler/stl setup doesn't die there?
If I remember correctly it was the standard gcc setup on stinson or jaina with the gcc-debug
config-opts.
I tried to reproduce but now the test works for me both with release and debug settings. So I am not sure in which setup the test failed. But what the test actually does is an out-of-bounds access to an array, which is not guaranteed to fail.
The relevant line is commented out in the test at the moment, we may as well remove it. So closing this issue.
The line
fails sometimes for me, as the dereferencing of the end iterator is not guaranteed to cause a Segfault (or something similar) everytime. I am not sure whether the
FixedMap
is meant to check the iterator position before dereferencing, then we should add the check. Otherwise we should change the test.