Skip to content

Commit

Permalink
refs #187 GCC 12 в релизной конфигурации выдаёт странные ошибки
Browse files Browse the repository at this point in the history
Выглядит так, что это ошибки оптимизации GCC, потому что и отладочные сборки, и кланг ошибок не выдают.
  • Loading branch information
izvolov committed Feb 16, 2025
1 parent 4fa09bc commit ca25ee7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/burst/range/intersect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ TEST_SUITE("intersect")

TEST_CASE("Пересечение диапазонов, накладывающихся попарно, но не совместно — пустой диапазон")
{
auto first = {1, 2 };
auto second = { 2, 3 };
auto third = { 3, 4};
auto first = burst::make_vector({1, 2 });
auto second = burst::make_vector({ 2, 3 });
auto third = burst::make_vector({ 3, 4});
auto ranges = burst::make_range_vector(first, second, third);

auto intersected_range = burst::intersect(ranges);
Expand Down
2 changes: 1 addition & 1 deletion test/burst/range/semiintersect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ TEST_SUITE("semiintersect")
auto second = burst::make_vector({1, 2, 3, 4});
auto ranges = burst::make_range_vector(first, second);

auto semiintersection = burst::semiintersect(ranges, 10);
auto semiintersection = burst::semiintersect(ranges.begin(), ranges.end(), 10);

CHECK(semiintersection.empty());
}
Expand Down

0 comments on commit ca25ee7

Please sign in to comment.