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

Initialize regs[] to 0 in check_for_x86_simd #1509

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

cary-ilm
Copy link
Member

@cary-ilm cary-ilm commented Aug 9, 2023

gcc warns of a potentially uninitialized memory reference, in the case where __get_cpuid() fails to assign values to all its parameters.

gcc warns of a potentially uninitialized memory reference, in the case
where ``__get_cpuid()`` fails to assign values to all its parameters.

Signed-off-by: Cary Phillips <cary@ilm.com>
@cary-ilm cary-ilm merged commit d688d05 into AcademySoftwareFoundation:main Aug 9, 2023
26 checks passed
cary-ilm added a commit that referenced this pull request Aug 13, 2023
gcc warns of a potentially uninitialized memory reference, in the case
where ``__get_cpuid()`` fails to assign values to all its parameters.

Signed-off-by: Cary Phillips <cary@ilm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants