public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/107825] New: uninitialized variable warning in immintrin.h with skylake architecture
@ 2022-11-22 19:05 bill.trost at harmonicinc dot com
  2022-11-22 19:06 ` [Bug c++/107825] " bill.trost at harmonicinc dot com
  2022-11-22 19:14 ` [Bug c++/107825] uninitialized variable warning in avx512fintrin.h " pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: bill.trost at harmonicinc dot com @ 2022-11-22 19:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107825
           Summary: uninitialized variable warning in immintrin.h with
                    skylake architecture
           Product: gcc
           Version: 12.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bill.trost at harmonicinc dot com
  Target Milestone: ---

Created attachment 53948
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53948&action=edit
Error mesages generated by compiling the program using the indicated flags

The following program generates warnings about uninitialized parameters in
avx512fintrin.h.


#include <immintrin.h>

__m512 f(__m512i a)
{
    return _mm512_cvtepi32_ps(a);
}

// Compiler used: x86-64 gcc 12.2
// Options used: -O3 -Wall -Werror -march=skylake-avx512


Warnings are attached, but in summary, the value _mm512_undefined_ps() passed
to __builtin_ia32_cvtdq2ps512_mask is deliberately uninitialized.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-22 19:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-22 19:05 [Bug c++/107825] New: uninitialized variable warning in immintrin.h with skylake architecture bill.trost at harmonicinc dot com
2022-11-22 19:06 ` [Bug c++/107825] " bill.trost at harmonicinc dot com
2022-11-22 19:14 ` [Bug c++/107825] uninitialized variable warning in avx512fintrin.h " pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).