Sounds like you are looking at redundant extension problem in RISC-V port. This is the issue I want to fix but I don't find the time to do that. My first impression is that we need to fix redundant extension in "ree" PASS. I am not sure. Base on you are looking at this kind of issues, would you mind looking at this issue? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108016 Thanks. juzhe.zhong@rivai.ai