[Bug tree-optimization/72785] [7 Regression] kernel build error since r236831
ktkachov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 23 17:39:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72785
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #24 from ktkachov at gcc dot gnu.org ---
I still see this when building an allmodconfig 4.9 Linux kernel for aarch64
(arm64 in kernel-speak).
Just do:
<Set CROSS_COMPILE to the aarch64 toolchain>
make ARCH=arm64 allmodconfig
make ARCH=arm64 -j<n>
Does anyone know of a kernel patch in flight to fix this in the kernel?
If not, should GCC work around this somehow? (perhaps by making jump-threading
less aggressive when __builtin_constant_p is involved?)
More information about the Gcc-bugs
mailing list