Skip to content

Commit

Permalink
Merge pull request eclipse-iceoryx#1876 from zmostafa/iox-1871-fix-un…
Browse files Browse the repository at this point in the history
…it-test-semantics-for-gccv9.4

iox-eclipse-iceoryx#1871 Fix aggressive loop optimizations error with gcc9.4
  • Loading branch information
elBoberido authored Feb 6, 2023
2 parents 5c55953 + 64b8fb2 commit 3a782ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/website/release-notes/iceoryx-unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
- `WaitSet::wait` returns if data was send before `WaitSet::attachState(.., State::HAS_{DATA, REQUEST, RESPONSE})` [\#1855](https://github.com/eclipse-iceoryx/iceoryx/issues/1855)
- Provide a better error message when attempting to create a shared memory in read-only mode
[\#1821](https://github.com/eclipse-iceoryx/iceoryx/issues/1821)
- Can not build iceoryx with gcc 9.4 [\#1871](https://github.com/eclipse-iceoryx/iceoryx/issues/1871)

**Refactoring:**

Expand Down
6 changes: 4 additions & 2 deletions iceoryx_hoofs/test/moduletests/test_cxx_vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,9 @@ TEST_F(vector_test, EmplaceAtPositionAfterEndBeforeCapacityExceedsFails)
sut.emplace_back(0U);
sut.emplace_back(1U);

EXPECT_FALSE(sut.emplace(sut.size() + 1, 3U));
ASSERT_THAT(sut.size(), Eq(2U));
constexpr uint64_t EXPECTED_SIZE{2};
ASSERT_THAT(sut.size(), EXPECTED_SIZE);
EXPECT_FALSE(sut.emplace(EXPECTED_SIZE + 1, 3U));
ASSERT_THAT(sut.size(), EXPECTED_SIZE);
}
} // namespace

0 comments on commit 3a782ad

Please sign in to comment.