https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117771
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org Last reconfirmed| |2024-11-25 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- make[2]: Leaving directory '/data-disk-1/github/rise-gcc-ci-precommit-5/_work/gcc-precommit-ci/gcc-precommit-ci/riscv-gnu-toolchain/build/build-gcc-linux-stage1/gcc' In file included from /usr/include/c++/9/bits/basic_ios.h:37, from /usr/include/c++/9/ios:44, from /usr/include/c++/9/istream:38, from /usr/include/c++/9/sstream:38, from ../../../gcc/gcc/system.h:768, from ../../../gcc/gcc/config/riscv/genrvv-type-indexer.cc:18: /usr/include/c++/9/bits/locale_facets.h:247:53: error: macro "toupper" passed 2 arguments, but takes just 1 247 | toupper(char_type *__lo, const char_type* __hi) const | ^ In file included from ../../../gcc/gcc/system.h:236, from ../../../gcc/gcc/config/riscv/genrvv-type-indexer.cc:18: The issue is the order of includes.