[Bug 221423] gcc std::locale(LocaleName) crashes instead of throwing an exception

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 07 Apr 2022 16:16:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221423

--- Comment #18 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #17)

In my amd64 context (instead of aarch64) it runs and is silent:

# g++11 locale_failure_test.cpp 
# ./a.out
# ldd a.out
a.out:
        libstdc++.so.6 => /usr/local/lib/gcc11/libstdc++.so.6 (0x824200000)
        libm.so.5 => /lib/libm.so.5 (0x822040000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x82238a000)
        libc.so.7 => /lib/libc.so.7 (0x822ad5000)
# uname -apKU
FreeBSD amd64_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #33
main-n253904-4d1ba6febfa7-dirty: Tue Mar 22 21:12:26 PDT 2022
root@amd64_ZFS:/usr/obj/BUILDs/main-amd64-nodbg-clang/usr/main-src/amd64.amd64/sys/GENERIC-NODBG
amd64 amd64 1400053 1400053

-- 
You are receiving this mail because:
You are the assignee for the bug.