2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-10 09:30:36 +08:00

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
This commit is contained in:
H.J. Lu 2015-03-07 13:31:00 +00:00 committed by H.J. Lu
parent 2e58ed3087
commit 0d797e0f6f
2 changed files with 8 additions and 2 deletions
gcc/testsuite
ChangeLog
gcc.target/i386

@ -1,3 +1,9 @@
2015-03-07 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/pr45685.c (uint64_t): Replace long with long
long.
(int64_t): Likewise.
2015-03-07 Marek Polacek <polacek@redhat.com>
Martin Uecker <uecker@eecs.berkeley.edu>

@ -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;