Re: [PATCH v2] RISC-V: Implement target attribute

2023-11-18 Thread Kito Cheng
Fixed on upstream, thanks for reporting, I guess my host GCC is just too old. It doesn't even not report that bug with -Wall -Wextra.. On Fri, Nov 17, 2023 at 11:41 PM Andreas Schwab wrote: > > In file included from >

Re: [PATCH v2] RISC-V: Implement target attribute

2023-11-17 Thread Andreas Schwab
In file included from /daten/riscv64/gcc/gcc-20231117/Build/prev-riscv64-suse-linux/libstdc++-v3/include/memory:78, from ../../gcc/system.h:769, from ../../gcc/config/riscv/riscv-target-attr.cc:25: In member function 'void

Re: [PATCH v2] RISC-V: Implement target attribute

2023-11-16 Thread Kito Cheng
Committed with changelog update :P Thanks for the review. On Thu, Nov 16, 2023 at 7:59 AM Christoph Müllner wrote: > > On Tue, Nov 14, 2023 at 3:15 PM Kito Cheng wrote: > > > > The target attribute which proposed in [1], target attribute allow user > > to specify a local setting per-function

Re: [PATCH v2] RISC-V: Implement target attribute

2023-11-15 Thread Christoph Müllner
On Tue, Nov 14, 2023 at 3:15 PM Kito Cheng wrote: > > The target attribute which proposed in [1], target attribute allow user > to specify a local setting per-function basis. > > The syntax of target attribute is `__attribute__((target("")))`. > > and the syntax of `` describes below: > ``` >

Re: [PATCH v2] RISC-V: Implement target attribute

2023-11-14 Thread Kito Cheng
Oh damm, I found it should be v3, but anyway it's the latest version for the target attribute support...