From 0d797e0f6f3fedc1eda63adc2d8ccc9b20efc371 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 7 Mar 2015 13:31:00 +0000 Subject: [PATCH] Use long long for uint64_t/int64_t * gcc.target/i386/pr45685.c (uint64_t): Replace long with long long. (int64_t): Likewise. From-SVN: r221255 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/i386/pr45685.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0a9c561c1ae..d89338032a9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-03-07 H.J. Lu + + * gcc.target/i386/pr45685.c (uint64_t): Replace long with long + long. + (int64_t): Likewise. + 2015-03-07 Marek Polacek Martin Uecker diff --git a/gcc/testsuite/gcc.target/i386/pr45685.c b/gcc/testsuite/gcc.target/i386/pr45685.c index 7f50bb332f2..57c6501e2d9 100644 --- a/gcc/testsuite/gcc.target/i386/pr45685.c +++ b/gcc/testsuite/gcc.target/i386/pr45685.c @@ -1,8 +1,8 @@ /* { dg-do compile { target { ! { ia32 } } } } */ /* { dg-options "-O3" } */ -typedef unsigned long int uint64_t; -typedef long int int64_t; +typedef unsigned long long int uint64_t; +typedef long long int int64_t; int summation_helper_1(int64_t* products, uint64_t count) { int s = 0; -- 2.30.2