Re: [PATCH 000/141] Fix fall-through warnings for Clang

Finn Thain
2020-11-24T02:49:08Z

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.