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

Array index out of bounds warning #591

Open
NAThompson opened this issue Jan 24, 2024 · 0 comments
Open

Array index out of bounds warning #591

NAThompson opened this issue Jan 24, 2024 · 0 comments

Comments

@NAThompson
Copy link
Contributor

Found in this build log, in particularly:

../../../boost/multiprecision/cpp_int/bitwise.hpp:598:14: warning: array subscript [7, 1152921504606846975] is outside array bounds of 'boost::multiprecision::backends::cpp_bin_float<50>::rep_type [1]' {aka 'boost::multiprecision::backends::cpp_int_backend<168, 168, boost::multiprecision::unsigned_magnitude, boost::multiprecision::unchecked, void> [1]'} [-Warray-bounds=]

  598 |    pr[i] = pr[i + offset] >> shift;

      |            ~~^
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

No branches or pull requests

1 participant