https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80196
Isuru Fernando <isuruf at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |isuruf at gmail dot com --- Comment #10 from Isuru Fernando <isuruf at gmail dot com> --- Failure in gcc 11.1.0 is new and was introduced in 2251b4a5423efa8ee0d7e67537b63e404a1f6afa. If we are building a canadian cross compiler, then libstdc++-v3/src/c++17/floating_from_chars.cc will be compiled with -I<build-dir>/libstdc++-v3/include where fenv.h is. fenv.h here is the C++ include file which tries to include the C include file with the same name by using include_next, but finds the C++ include file from the cross compiler used for building gcc which becomes empty because of the same include guard used.