[Bug target/126803] GCC fails to process <riscv_vector.h> when targeting the valid zve32f_zvl256b ISA combination in C++.
"Milan.Tripkovic--- via Gcc-bugs" <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126803 Milan Tripkovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Milan Tripkovic <[email protected]> --- Created attachment 65333 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65333&action=edit Patch based on Zhongyao Chen's suggestion Hello, I tryed Zhongyao's suggestion to implement TARGET_COMP_TYPE_ATTRIBUTES for RISC-V and I can confirm that it resolves the "ambiguating new declaration" issue when using -march=rv64imafc_zve32f_zvl256b.