https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61158
--- Comment #9 from John David Anglin <danglin at gcc dot gnu.org> --- It looks like the test fails because HOST_BITS_PER_WIDE_INT is 32 on hppa2.0w-hp-hpux11.11. As a result, the fold optimization doesn't occur.