Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node.hpp: Fix process_bulk case in constexpr #93

Closed
wants to merge 1 commit into from

Conversation

frankosterfeld
Copy link
Contributor

Need else in if constexpr, otherwise the code below still requires the implementation to have process_one, even if never called. (GCC 12.3.0)

@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 08:58 — with GitHub Actions Inactive
meta::tuple_for_each([i](auto &output_range, auto &result) { result.copy_to(output_range.data() + i, stdx::element_aligned); }, writers_tuple, results);
i += w;
}
});
} else {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure to look at this with "Hide whitespace"...

Need else in if constexpr, otherwise the code below still requires
the implementation to have process_one, even if never called.
(GCC 12.3.0)
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld frankosterfeld temporarily deployed to configure coverage June 21, 2023 09:11 — with GitHub Actions Inactive
@frankosterfeld
Copy link
Contributor Author

Fixed upstream

@RalphSteinhagen RalphSteinhagen deleted the frank/compile-fixes branch August 5, 2023 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant