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

Disable spurious gcc warning in xfunction::broadcast_shape #2816

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hsanzg
Copy link

@hsanzg hsanzg commented Nov 28, 2024

Checklist

  • The title and commit message(s) are descriptive.
  • Small commits made to fix your PR have been squashed to avoid history pollution.
  • Tests have been added for new features or bug fixes.
  • API of new functions and classes are documented.

Description

Recent versions of gcc emit an incorrect array-bounds warning when copying the cached shape into the passed input, if the latter is of type std::array<size_t, 1>.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852

Recent versions of gcc emit an incorrect `array-bounds` warning when
copying the cached shape into the passed `input`, if the latter is of
type `std::array<size_t, 1>`.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107852
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