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

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

--- Comment #16 from Dimitry Andric <dim@FreeBSD.org> ---
Freshly build and installed the gcc48 port, same results, no crash:

% g++48 bug221423.cpp -o bug221423-gcc48

% ./bug221423-gcc48

% echo $?
0

% ldd bug221423-gcc48
bug221423-gcc48:
        libstdc++.so.6 => /usr/local/lib/gcc10/libstdc++.so.6 (0x822954000)
        libm.so.5 => /lib/libm.so.5 (0x821edc000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x823a5d000)
        libc.so.7 => /lib/libc.so.7 (0x823f91000)

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