]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: aarch64: avoid stdint-gcc.h in crc-builtin-pmul64.c
authorAlexandre Oliva <oliva@adacore.com>
Wed, 25 Mar 2026 18:05:33 +0000 (15:05 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Sat, 28 Mar 2026 03:12:47 +0000 (00:12 -0300)
Though gcc most often installs a stdint-gcc.h, that's not necessarily
the case, and it isn't the case for sure when targeting vxworks.

The file history doesn't justify the oddity, so I'm assuming it was a
mistake.

for  gcc/testsuite/ChangeLog

* gcc.target/aarch64/crc-builtin-pmul64.c: Include stdint.h.

gcc/testsuite/gcc.target/aarch64/crc-builtin-pmul64.c

index d8bb1724a65ccdef3695e3e58a29cf41a43be7e1..cf2fa5069818c70c21bc9b0fe78b578529148608 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-options "-march=armv8-a+crypto" } */
 
-#include <stdint-gcc.h>
+#include <stdint.h>
 int8_t crc8_data8 ()
 {
   return __builtin_crc8_data8 ('a', 0xff, 0x12);
@@ -58,4 +58,4 @@ int32_t rev_crc32_data32 ()
 {
   return __builtin_rev_crc32_data32 (0xffffffff, 0x123546ff, 0x4002123);
 } 
-/* { dg-final { scan-assembler-times "pmull" 24 } } */
\ No newline at end of file
+/* { dg-final { scan-assembler-times "pmull" 24 } } */