https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108016
Bug ID: 108016 Summary: RISC-V:Bad codegen in scalar code comparing to LLVM Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: juzhe.zhong at rivai dot ai Target Milestone: --- This is the simple code example: https://godbolt.org/z/jKGavbx7o Post it here and let me not forget about it. If someone can fix it, I will really appreciate. If not, I will fix it if I have time (Currently busy with working on RVV support).