On Thu, Jul 12, 2018 at 7:53 AM, Kito Cheng wrote:
> ping.
> On Fri, Jul 6, 2018 at 4:38 PM Kito Cheng wrote:
>>
>> Hi all:
>>
>> This patch implemented TARGET_MERGE_DECL_ATTRIBUTES hook to check the
>> interrupter is all compatible, tested with rv32ima and rv64ima elf
>> toolchain.
>>
>> gcc/Cha
ping.
On Fri, Jul 6, 2018 at 4:38 PM Kito Cheng wrote:
>
> Hi all:
>
> This patch implemented TARGET_MERGE_DECL_ATTRIBUTES hook to check the
> interrupter is all compatible, tested with rv32ima and rv64ima elf
> toolchain.
>
> gcc/ChangeLog
> 2018-07-06 Kito Cheng
>
> * config/riscv/ris
-V: Report error if function declare with different
interrupt mode.
---
gcc/config/riscv/riscv.c | 82 +++
.../riscv/interrupt-conflict-mode.c | 10 +++
2 files changed, 74 insertions(+), 18 deletions(-)
create mode 100644 gcc/testsuite/gcc.target