[committed] Fix failure of c-c++-common/analyzer/stdarg-pr111289-int.c on hpux

Message ID ZgW418k9HJQlmBt4@mx3210.localdomain
State New
Headers
Series [committed] Fix failure of c-c++-common/analyzer/stdarg-pr111289-int.c on hpux |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-arm warning Patch is already merged
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 warning Patch is already merged

Commit Message

John David Anglin March 28, 2024, 6:37 p.m. UTC
  Fixes conflicting declarations of mode_t.

Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11.
Committed to trunk.

Dave
---

Fix failure of c-c++-common/analyzer/stdarg-pr111289-int.c on hpux

2024-03-28  John David Anglin  <danglin@gcc.gnu.org>

gcc/testsuite/ChangeLog:

	PR analyzer/111289
	* c-c++-common/analyzer/stdarg-pr111289-int.c: Don't include
	<limits.h>.
  

Patch

diff --git a/gcc/testsuite/c-c++-common/analyzer/stdarg-pr111289-int.c b/gcc/testsuite/c-c++-common/analyzer/stdarg-pr111289-int.c
index 33d83169c3e..8faa58c9480 100644
--- a/gcc/testsuite/c-c++-common/analyzer/stdarg-pr111289-int.c
+++ b/gcc/testsuite/c-c++-common/analyzer/stdarg-pr111289-int.c
@@ -1,6 +1,5 @@ 
 #include <stdarg.h>
 #include <stdint.h>
-#include <limits.h>
 
 typedef unsigned int mode_t;