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

BLD: fix uninitialized variable warnings from simd/neon/memory.h #25478

Merged
merged 1 commit into from
Dec 23, 2023

Conversation

charris
Copy link
Member

@charris charris commented Dec 23, 2023

Backport of #25459.

The warning was this, repeated many times:

In file included from ../numpy/_core/src/common/simd/neon/neon.h:76:
../numpy/_core/src/common/simd/neon/memory.h:56:56: warning: variable 'a' is uninitialized when used here [-Wuninitialized]
    a = vld1q_lane_s32((const int32_t*)ptr,            a, 0);
                                                       ^

[skip cirrus] [skip azp]

The warning was this, repeated many times:
```
In file included from ../numpy/_core/src/common/simd/neon/neon.h:76:
../numpy/_core/src/common/simd/neon/memory.h:56:56: warning: variable 'a' is uninitialized when used here [-Wuninitialized]
    a = vld1q_lane_s32((const int32_t*)ptr,            a, 0);
                                                       ^
```
[skip cirrus] [skip azp]
@charris charris added 03 - Maintenance 08 - Backport Used to tag backport PRs component: SIMD Issues in SIMD (fast instruction sets) code or machinery 36 - Build Build related PR labels Dec 23, 2023
@charris charris added this to the 1.26.3 release milestone Dec 23, 2023
@charris charris merged commit d20e353 into numpy:maintenance/1.26.x Dec 23, 2023
74 of 77 checks passed
@charris charris deleted the backport-25459 branch December 23, 2023 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
03 - Maintenance 08 - Backport Used to tag backport PRs 36 - Build Build related PR component: SIMD Issues in SIMD (fast instruction sets) code or machinery
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants