[Bug libstdc++/107817] New: std/format/functions/format.cc etc. FAIL
ro at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 22 14:05:07 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107817
Bug ID: 107817
Summary: std/format/functions/format.cc etc. FAIL
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
Target Milestone: ---
Target: *-*-solaris2.11, x86_64-unknown-freebsd12.4,
powerpc64le-unknown-linux-gnu
The std/format/functions/format.cc and std/format/functions/format_to_n.cc
tests FAIL on Solaris (32 and 64-bit, sparc and x86):
+FAIL: std/format/functions/format.cc (test for excess errors)
+UNRESOLVED: std/format/functions/format.cc compilation failed to produce
executable
Excess errors:
/var/gcc/regression/master/11.4-gcc-gas/build/i386-pc-solaris2.11/libstdc++-v3/include/format:508:
error: 'static constexpr std::__format::_Spec<_CharT>::iterator
std::__format::_Spec<_CharT>::_S_parse_width_or_precision(iterator, iterator,
short unsigned int&, bool&, std::basic_format_parse_context<_CharT>&) [with
_CharT = char; iterator = const char*]' called in a constant expression
/var/gcc/regression/master/11.4-gcc-gas/build/i386-pc-solaris2.11/libstdc++-v3/include/format:468:
error: call to non-'constexpr' function 'int std::isdigit(int)'
/var/gcc/regression/master/11.4-gcc-gas/build/i386-pc-solaris2.11/libstdc++-v3/include/format:508:
error: 'static constexpr std::__format::_Spec<_CharT>::iterator
std::__format::_Spec<_CharT>::_S_parse_width_or_precision(iterator, iterator,
short unsigned int&, bool&, std::basic_format_parse_context<_CharT>&) [with
_CharT = char; iterator = const char*]' called in a constant expression
/var/gcc/regression/master/11.4-gcc-gas/build/i386-pc-solaris2.11/libstdc++-v3/include/format:508:
error: 'static constexpr std::__format::_Spec<_CharT>::iterator
std::__format::_Spec<_CharT>::_S_parse_width_or_precision(iterator, iterator,
short unsigned int&, bool&, std::basic_format_parse_context<_CharT>&) [with
_CharT = char; iterator = const char*]' called in a constant expression
and many more
+FAIL: std/format/functions/format_to_n.cc (test for excess errors)
+UNRESOLVED: std/format/functions/format_to_n.cc compilation failed to produce
executable
Excess errors:
/var/gcc/regression/master/11.4-gcc-gas/build/i386-pc-solaris2.11/libstdc++-v3/include/format:508:
error: 'static constexpr std::__format::_Spec<_CharT>::iterator
std::__format::_Spec<_CharT>::_S_parse_width_or_precision(iterator, iterator,
short unsigned int&, bool&, std::basic_format_parse_context<_CharT>&) [with
_CharT = char; iterator = const char*]' called in a constant expression
/var/gcc/regression/master/11.4-gcc-gas/build/i386-pc-solaris2.11/libstdc++-v3/include/format:468:
error: call to non-'constexpr' function 'int std::isdigit(int)'
/var/gcc/regression/master/11.4-gcc-gas/build/i386-pc-solaris2.11/libstdc++-v3/include/format:508:
error: 'static constexpr std::__format::_Spec<_CharT>::iterator
std::__format::_Spec<_CharT>::_S_parse_width_or_precision(iterator, iterator,
short unsigned int&, bool&, std::basic_format_parse_context<_CharT>&) [with
_CharT = wchar_t; iterator = const wchar_t*]' called in a constant expression
and many more
since 20221114. FreeBSD and (maybe, if that's not an older issue since fixed)
Linux/powerpc64le are equally affected.
More information about the Gcc-bugs
mailing list