Ran in to this issue when trying to update gcc in cenbuild on Fedora 34. Running 'rebuild' results in a build failure, and when looking in /home/cendio/cenbuild/repo/rpmbuild/build.log I see this error: > ../../gcc/reload1.c: In function 'void init_reload()': > ../../gcc/reload1.c:115:24: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17 > 115 | (this_target_reload->x_spill_indirect_levels) > | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ This error will likely happen on all distributions where we try to run .c-files with a too high version of C++. How to reproduce: 1. Update gcc in cenbuild 2. Run 'rebuild'