Name |
Last commit
|
Last update |
---|---|---|
.. | ||
call-with-empty-struct-float.C | ||
call-with-empty-struct-int.C | ||
call-with-empty-struct.H | ||
frflags.C | ||
riscv.exp |
- g++ will complain too few arguments for frflags builtin like bellow message: error: too few arguments to function 'unsigned int __builtin_riscv_frflags(void)' - However it's no arguments needed, it because we declare the function type with VOID arguments, that seems like require a VOID argument in the c++ front-end when GCC tried to resolve the function. gcc/ChangeLog * config/riscv/riscv-builtins.c (RISCV_FTYPE_NAME0): New. (RISCV_FTYPE_ATYPES0): New. (riscv_builtins): Using RISCV_USI_FTYPE for frflags. * config/riscv/riscv-ftypes.def: Remove VOID argument. gcc/testsuite/ChangeLog * g++.target/riscv/frflags.C: New. (cherry picked from commit 33d9794b7277a64543914bfbbfd567505e72da6c)
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
call-with-empty-struct-float.C | Loading commit data... | |
call-with-empty-struct-int.C | Loading commit data... | |
call-with-empty-struct.H | Loading commit data... | |
frflags.C | Loading commit data... | |
riscv.exp | Loading commit data... |