[PATCH 000/141] Fix fall-through warnings for Clang
Finn Thain
fthain at telegraphics.com.au
Mon Nov 23 21:48:34 EST 2020
On Mon, 23 Nov 2020, Joe Perches wrote:
> On Tue, 2020-11-24 at 11:58 +1100, Finn Thain wrote:
> > it's not for me to prove that such patches don't affect code
> > generation. That's for the patch author and (unfortunately) for
> > reviewers.
>
> Ideally, that proof would be provided by the compilation system itself
> and not patch authors nor reviewers nor maintainers.
>
> Unfortunately gcc does not guarantee repeatability or deterministic
> output. To my knowledge, neither does clang.
>
Yes, I've said the same thing myself. But having attempted it, I now think
this is a hard problem. YMMV.
https://lore.kernel.org/linux-scsi/alpine.LNX.2.22.394.2004281017310.12@nippy.intranet/
https://lore.kernel.org/linux-scsi/alpine.LNX.2.22.394.2005211358460.8@nippy.intranet/
More information about the linux-mtd
mailing list