[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191028221151.bpbp27x6xeotbvm5@desk.local>
Date: Mon, 28 Oct 2019 23:11:52 +0100
From: Luc Van Oostenryck <luc.vanoostenryck@...il.com>
To: Palmer Dabbelt <palmer@...ive.com>
Cc: Paul Walmsley <paul.walmsley@...ive.com>,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-sparse@...r.kernel.org
Subject: Re: [PATCH 4/8] riscv: ensure RISC-V C model definitions are passed
to static analyzers
On Tue, Oct 22, 2019 at 08:09:59AM -0700, Palmer Dabbelt wrote:
>
> It's probably worth going through all our argument-dependent builtin
> definitions at the same time. They're generated by
> riscv_cpu_cpp_builtins():
> https://github.com/gcc-mirror/gcc/blob/master/gcc/config/riscv/riscv-c.c#L35
Yes, I agree.
However, these are higly dependent on parsing -march and this is quite
arch-specific which sparse is not really needed for.
I'll add some infrastructure for this in the followings weeks.
-- Luc
Powered by blists - more mailing lists