summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 4cffe6e7bd..f101a5a161 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -2989,7 +2989,13 @@ PP(pp_stat)
Stat_t s;
CLANG_DIAG_IGNORE_STMT(-Wtautological-compare);
GCC_DIAG_IGNORE_STMT(-Wtype-limits);
+#if defined(__HP_cc) || defined(__HP_aCC)
+#pragma diag_suppress 2186
+#endif
neg = PL_statcache.st_ino < 0;
+#if defined(__HP_cc) || defined(__HP_aCC)
+#pragma diag_default 2186
+#endif
GCC_DIAG_RESTORE_STMT;
CLANG_DIAG_RESTORE_STMT;
if (neg) {