- argument and return value for libcall won't promote at default_promote_function_mode_always_promote, however we expect it should sign-extend as normal function. - Witout this patch, this test case will fail at -march=rv64i -mabi=lp64. - The implementation of riscv_promote_function_mode is borrowed from MIPS. gcc/ChangeLog * config/riscv/riscv.c (riscv_promote_function_mode): New. (TARGET_PROMOTE_FUNCTION_MODE): Use riscv_promote_function_mode. gcc/testsuite/ChangeLog * gcc.target/riscv/promote-type-for-libcall.c: New. From-SVN: r274107
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| arch-1.c | Loading commit data... | |
| arch-2.c | Loading commit data... | |
| arch-3.c | Loading commit data... | |
| arch-4.c | Loading commit data... | |
| attribute-1.c | Loading commit data... | |
| attribute-10.c | Loading commit data... | |
| attribute-2.c | Loading commit data... | |
| attribute-3.c | Loading commit data... | |
| attribute-4.c | Loading commit data... | |
| attribute-5.c | Loading commit data... | |
| attribute-6.c | Loading commit data... | |
| attribute-7.c | Loading commit data... | |
| attribute-8.c | Loading commit data... | |
| attribute-9.c | Loading commit data... | |
| interrupt-1.c | Loading commit data... | |
| interrupt-2.c | Loading commit data... | |
| interrupt-3.c | Loading commit data... | |
| interrupt-4.c | Loading commit data... | |
| interrupt-5.c | Loading commit data... | |
| interrupt-conflict-mode.c | Loading commit data... | |
| interrupt-debug.c | Loading commit data... | |
| interrupt-mmode.c | Loading commit data... | |
| interrupt-smode.c | Loading commit data... | |
| interrupt-umode.c | Loading commit data... | |
| load-immediate.c | Loading commit data... | |
| losum-overflow.c | Loading commit data... | |
| pr84660.c | Loading commit data... | |
| predef-1.c | Loading commit data... | |
| predef-2.c | Loading commit data... | |
| predef-3.c | Loading commit data... | |
| predef-4.c | Loading commit data... | |
| predef-5.c | Loading commit data... | |
| predef-6.c | Loading commit data... | |
| predef-7.c | Loading commit data... | |
| predef-8.c | Loading commit data... | |
| promote-type-for-libcall.c | Loading commit data... | |
| riscv.exp | Loading commit data... | |
| save-restore-1.c | Loading commit data... | |
| shift-and-1.c | Loading commit data... | |
| shift-and-2.c | Loading commit data... | |
| shift-shift-1.c | Loading commit data... | |
| shift-shift-2.c | Loading commit data... | |
| shift-shift-3.c | Loading commit data... | |
| switch-qi.c | Loading commit data... | |
| switch-si.c | Loading commit data... | |
| weak-1.c | Loading commit data... | |
| zero-extend-1.c | Loading commit data... | |
| zero-extend-2.c | Loading commit data... | |
| zero-extend-3.c | Loading commit data... | |
| zero-extend-4.c | Loading commit data... |