https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109479
Bug ID: 109479 Summary: [RISC-V] Build with rv64gc_zve32x_zvl64b should fail but actually not Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: pan2.li at intel dot com Target Milestone: --- When compiling with option '-march=rv64gc_zve32x_zvl64b', it should report an error similar to clang, you can see this case in below link. https://godbolt.org/z/qn1bcK7Pn