https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92856
Giuseppe D'Angelo <dangelog at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dangelog at gmail dot com --- Comment #5 from Giuseppe D'Angelo <dangelog at gmail dot com> --- Hi, This specific bug needs to be reopened: GCC incorrectly accepts long double to double in list initializations, and generates no warnings, on architectures where long double is the same as double. Testcases: On ARM: https://godbolt.org/z/SRg3fr On X86-64 also passing -mlong-double-64: https://godbolt.org/z/GnRkHC SFINAE contexts are affected as well: https://godbolt.org/z/icMA3k Clang, MSVC reject the code.