https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105647
--- Comment #1 from Giuliano Belinassi <giuliano.belinassi at gmail dot com> --- Confirmed. powerpc64le-suse-linux-gcc-11 -fpatchable-function-entry=1 -O2 -c -o /tmp/a.o pr105169_a.C /tmp/ccjfumfv.s: Assembler messages: /tmp/ccjfumfv.s:64: Error: .localentry expression for `_Z8functionv' is not a valid power of 2 However, the problem was not introduced in the commit mentioned, as it is already there since at least gcc-11. Just the testcase that triggers it was introduced there. Furthermore, powerpc64le-suse-linux-gcc-11 -fpatchable-function-entry=2 -O2 -c -o /tmp/a.o pr105169_a.C Works.
