https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117348
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:cd5535494c567c3dff4b935b7443d893914e9b9c commit r15-4769-gcd5535494c567c3dff4b935b7443d893914e9b9c Author: Jakub Jelinek <ja...@redhat.com> Date: Wed Oct 30 09:58:26 2024 +0100 genmatch: Fix build on hppa64-hpux [PR117348] Apparently autoconf defines the HAVE_DECL_* macros to 0 rather than not defining them at all, so defined(HAVE_DECL_FMEMOPEN) test doesn't do much. The following patch fixes it by testing HAVE_DECL_FMEMOPEN for being non-zero instead. 2024-10-30 Jakub Jelinek <ja...@redhat.com> PR middle-end/117348 * genmatch.cc: Replace defined(HAVE_DECL_FMEMOPEN) test with HAVE_DECL_FMEMOPEN.