public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: John David Anglin <danglin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-5801] hppa: Fix gcc.dg/analyzer/fd-4.c on hpux
Date: Thu, 23 Nov 2023 20:30:02 +0000 (GMT)	[thread overview]
Message-ID: <20231123203002.8E6A43858D1E@sourceware.org> (raw)

https://gcc.gnu.org/g:84e0ed920c1ed2b99ae26be43d0a3177b25913a4

commit r14-5801-g84e0ed920c1ed2b99ae26be43d0a3177b25913a4
Author: John David Anglin <danglin@gcc.gnu.org>
Date:   Thu Nov 23 20:29:27 2023 +0000

    hppa: Fix gcc.dg/analyzer/fd-4.c on hpux
    
    2023-11-23  John David Anglin  <danglin@gcc.gnu.org>
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/analyzer/fd-4.c: Define _MODE_T on hpux.

Diff:
---
 gcc/testsuite/gcc.dg/analyzer/fd-4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/analyzer/fd-4.c b/gcc/testsuite/gcc.dg/analyzer/fd-4.c
index 994bad84342..3a961e4f813 100644
--- a/gcc/testsuite/gcc.dg/analyzer/fd-4.c
+++ b/gcc/testsuite/gcc.dg/analyzer/fd-4.c
@@ -1,4 +1,4 @@
-#ifdef _AIX
+#if defined(_AIX) || defined(__hpux)
 #define _MODE_T
 #endif
 #include <stdio.h>

                 reply	other threads:[~2023-11-23 20:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231123203002.8E6A43858D1E@sourceware.org \
    --to=danglin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).