https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69252
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- Thanks for your help! I can confirm that the first patch fixes the problem in the test cases on powerpc64le. (I haven't done any other testing with it.)