On Thu, Mar 26, 2026 at 6:41 PM Alexandre Oliva <[email protected]> wrote:
>
>
> 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.
>
> Regstrapped on x86_64-linux-gnu.  Also tested with ppc-vx7r2,
> ppc64-vx7r2, arm-vx7r2, and aarch64-vx7r2.  Ok to install?

Ok.

>
>
> for  gcc/testsuite/ChangeLog
>
>         * gcc.target/aarch64/crc-builtin-pmul64.c: Include stdint.h.
> ---
>  .../gcc.target/aarch64/crc-builtin-pmul64.c        |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gcc/testsuite/gcc.target/aarch64/crc-builtin-pmul64.c 
> b/gcc/testsuite/gcc.target/aarch64/crc-builtin-pmul64.c
> index d8bb1724a65cc..cf2fa5069818c 100644
> --- a/gcc/testsuite/gcc.target/aarch64/crc-builtin-pmul64.c
> +++ b/gcc/testsuite/gcc.target/aarch64/crc-builtin-pmul64.c
> @@ -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 } } */
>
> --
> 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