]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Include stdint.h instead of stdint-gcc.h in some tests
authorJohn David Anglin <danglin@gcc.gnu.org>
Tue, 18 Feb 2025 15:36:48 +0000 (10:36 -0500)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 18 Feb 2025 15:36:48 +0000 (10:36 -0500)
When use_gcc_stdint=provide, the stdint-gcc.h header is not provided.

2025-02-18  John David Anglin  <danglin@gcc.gnu.org>

gcc/testsuite/ChangeLog:

PR testsuite/116986
* gcc.dg/crc-builtin-rev-target32.c: Include stdint.h
instead of stdint-gcc.h.
* gcc.dg/crc-builtin-rev-target64.c: Likewise.
* gcc.dg/crc-builtin-target32.c: Likewise.
* gcc.dg/crc-builtin-target64.c: Likewise.
* gcc.dg/torture/pr115387-2.c: Likewise.

gcc/testsuite/gcc.dg/crc-builtin-rev-target32.c
gcc/testsuite/gcc.dg/crc-builtin-rev-target64.c
gcc/testsuite/gcc.dg/crc-builtin-target32.c
gcc/testsuite/gcc.dg/crc-builtin-target64.c
gcc/testsuite/gcc.dg/torture/pr115387-2.c

index 4fc58e5f5137321528268ebb576a627724159f47..f2b63db7fd1338d60800e577405bfae5d9c7cf8d 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-require-effective-target int32plus } */
 /* { dg-additional-options "-fdump-rtl-expand-details" } */
 
-#include <stdint-gcc.h>
+#include <stdint.h>
 
 int8_t rev_crc8_data8 ()
 {
index d63981e01018bc2c449b59dc42c8fa3ca560fcae..97e80004d377981fe015ce1ee516cbbe66618b58 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-require-effective-target int32plus } */
 /* { dg-additional-options "-fdump-rtl-expand-details" } */
 
-#include <stdint-gcc.h>
+#include <stdint.h>
 
 int8_t rev_crc8_data8 ()
 {
index 13db531e93a3f7dad1ad23d9fc3a58a98f990bf6..43db8c96e16eda1122415213b4422360bbcf0058 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-require-effective-target int32plus } */
 /* { dg-additional-options "-fdump-rtl-expand-details" } */
 
-#include <stdint-gcc.h>
+#include <stdint.h>
 
 int8_t crc8_data8 ()
 {
index 4b3d813995a1eb051b37da0a97564efbfcdffdc3..09aa39fcd86af550f6f82fa5552989f06b69d9fc 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-require-effective-target int32plus } */
 /* { dg-additional-options "-fdump-rtl-expand-details" } */
 
-#include <stdint-gcc.h>
+#include <stdint.h>
 
 int8_t crc8_data8 ()
 {
index 9e93024b45ce2def6b6e7cffc345d5aed1dc4457..190ad4b09772814134b0044af0220cfac550d34f 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-do compile } */
 
 #include <stddef.h>
-#include <stdint-gcc.h>
+#include <stdint.h>
 
 char *
 test (char *string, size_t maxlen)