FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Disable spurious gcc warning in `xfunction::broadcast_shape` by hsanzg · Pull Request #2816 · xtensor-stack/xtensor · GitHub

Repository navigation

Disable spurious gcc warning in xfunction::broadcast_shape - #2816

Open
hsanzg wants to merge 1 commit into
xtensor-stack:masterfrom
hsanzg:gcc-warn
Open

hsanzg wants to merge 1 commit into
xtensor-stack:masterfrom
hsanzg:gcc-warn

Conversation

hsanzg commented Nov 28, 2024

Copy link
Copy Markdown

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

This branch has not been deployed

No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL