stdint-gcc.h isn't necessarily installed by GCC or available from C
libraries.  VxWorks ports don't generally have such a header
available.  Include stdint.h instead.

Regstrapped on x86_64-linux-gnu.  Also tested with ppc-vx7r2,
ppc64-vx7r2, arm-vx7r2, aarch64-vx7r2, x86_64-vx7r2, and x86-vx7r2.  Ok
to install?


for  gcc/testsuite/ChangeLog

        * gcc.target/i386/pr115863-1.c: Include stdint.h.
---
 gcc/testsuite/gcc.target/i386/pr115863-1.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/pr115863-1.c 
b/gcc/testsuite/gcc.target/i386/pr115863-1.c
index a672f62cec546..d48cbf83aab60 100644
--- a/gcc/testsuite/gcc.target/i386/pr115863-1.c
+++ b/gcc/testsuite/gcc.target/i386/pr115863-1.c
@@ -2,7 +2,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O3 -fdump-rtl-expand-details" } */
 
-#include <stdint-gcc.h>
+#include <stdint.h>
 
 typedef struct z_stream_s {
     uint32_t     avail_out;

-- 
Alexandre Oliva, happy hacker            https://blog.lx.oliva.nom.br/
Free Software Activist     FSFLA co-founder     GNU Toolchain Engineer
More tolerance and less prejudice are key for inclusion and diversity.
Excluding neuro-others for not behaving ""normal"" is *not* inclusive!

Reply via email to