emerge -av sys-devel/gcc Reproducible: Always
Created attachment 757069 [details] riscv-gcc-full-build-log.tar.gz
Created attachment 757070 [details] emerge --info
Created attachment 757073 [details] emerge environment
gcc-11.2.1_p20211127 actually works for me, tested on sifive unmatched board
also tested with 11.2.1_p20220115, can't reproduce this issue so I'm closing this, and please re-open and provide more info if you still have problem