_Float16 handling changed in gcc 13?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I have code that compiles correctly with gcc 12 and gcc 14, but not with gcc 13:

SIMD.h: In static member function ‘static std::complex<_Float16>
SIMD::reduce_add_pch(const __m256h&)’:
/SIMD.h:893:44: error: no matching function for call to
‘std::complex<_Float16>::complex(float&, float&)’
  893 |         return std::complex<_Float16>(re,im);
      |                                            ^

We are using C++20.

I know that the behaviour of _Float16 changed in gcc 13 but I don't
know how to fix this error.

Any suggestions please?

Best regards
David




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux