PR105647 Update pr105169* so it does not fail on powerpc64le
authorGiuliano Belinassi <gbelinassi@suse.de>
Wed, 18 May 2022 19:16:48 +0000 (16:16 -0300)
committerGiuliano Belinassi <gbelinassi@suse.de>
Thu, 19 May 2022 13:00:09 +0000 (10:00 -0300)
commit16e02662c092c6e3087628ef0030e7daa2f71485
tree26bbb7619efcedd07c638b294d6707b41bb42191
parent19258b113872bd6774f215c63d82dc48ee1198b6
PR105647 Update pr105169* so it does not fail on powerpc64le

On powerpc64le, the tests related to pr105169 failed because the
.localentry was not on a power of two address due to the extra nop
instruction taking one byte and thus moving its position one byte
further. Generating two nops instead moves .localentry to a valid
position.

gcc/testsuite/ChangeLog
2022-05-18  Giuliano Belinassi  <gbelinassi@suse.de>

PR target/105647
* g++.dg/modules/pr105169_a.C: Change -fpatchable-function-entry to 2.
* g++.dg/modules/pr105169_b.C: Likewise.
gcc/testsuite/g++.dg/modules/pr105169_a.C
gcc/testsuite/g++.dg/modules/pr105169_b.C