Re: [PATCH v4 3/3] powerpc/prom_init: Use -ffreestanding to avoid a reference to bcmp

From: Segher Boessenkool
Date: Mon Oct 14 2019 - 05:35:29 EST

On Sun, Oct 13, 2019 at 07:51:01PM -0700, Nathan Chancellor wrote:
> r374662 gives LLVM the ability to convert certain loops into a reference
> to bcmp as an optimization; this breaks

When/why does LLVM think this is okay? This function has been removed
from POSIX over a decade ago (and before that it always was marked as