gcc/libstdc++-v3
Marek Polacek 1d9263f292 libstdc++: add casts to from_chars in <charconv> [PR111883]
This fixes

.../charconv: In function 'std::from_chars_result std::from_chars(const char*, const char*, _Float16&, chars_format)':
.../charconv:687:17: warning: converting to '_Float16' from 'float' with greater conversion rank
  687 |       __value = __val;
      |                 ^~~~~
.../charconv: In function 'std::from_chars_result std::from_chars(const char*, const char*, __gnu_cxx::__bfloat16_t&, chars_format)':
.../charconv:763:17: warning: converting to '__gnu_cxx::__bfloat16_t' {aka '__bf16'} from 'float' with greater conversion rank
  763 |       __value = __val;
      |                 ^~~~~

which was breaking a test:

FAIL: g++.dg/warn/Wstringop-overflow-6.C  -std=gnu++26 (test for excess errors)

	PR testsuite/111883

libstdc++-v3/ChangeLog:

	* include/std/charconv (from_chars): Add explicit casts.
2023-10-20 12:35:58 -04:00
..
config libstdc++: [_GLIBCXX_INLINE_VERSION] Add missing symbols 2023-10-05 21:58:57 +02:00
doc libstdc++: Minor tweak to C++20 status docs 2023-09-18 15:21:22 +01:00
include libstdc++: add casts to from_chars in <charconv> [PR111883] 2023-10-20 12:35:58 -04:00
libsupc++ libstdc++: Simplify C++20 poison pill overloads (P2602R2) 2023-09-07 08:08:12 +01:00
po
python libstdc++: Correctly call _string_types function 2023-10-04 10:38:33 -06:00
scripts libstdc++: Add Filesystem TS and std::stacktrace symbols to libstdc++exp.a 2023-09-08 18:04:12 +01:00
src libstdc++: Fix handling of surrogate CP in codecvt [PR108976] 2023-09-29 16:01:21 +01:00
testsuite libstdc++: [_Hashtable] Do not reuse untrusted cached hash code 2023-10-19 19:06:08 +02:00
acinclude.m4 libstdc++: Implement C++26 native handles for file streams (P1759R6) 2023-09-15 21:57:41 +01:00
aclocal.m4
ChangeLog Daily bump. 2023-10-20 00:16:39 +00:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020
ChangeLog-2021
ChangeLog-2022
config.h.in libstdc++: Implement C++26 native handles for file streams (P1759R6) 2023-09-15 21:57:41 +01:00
configure libstdc++: Implement C++26 native handles for file streams (P1759R6) 2023-09-15 21:57:41 +01:00
configure.ac libstdc++: Implement C++26 native handles for file streams (P1759R6) 2023-09-15 21:57:41 +01:00
configure.host LoongArch: Adjust C++ multilib header layout. 2023-09-08 17:51:06 +08:00
crossconfig.m4
fragment.am
linkage.m4
Makefile.am
Makefile.in
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.