Use long long for uint64_t/int64_t
authorH.J. Lu <hongjiu.lu@intel.com>
Sat, 7 Mar 2015 13:31:00 +0000 (13:31 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sat, 7 Mar 2015 13:31:00 +0000 (05:31 -0800)
* gcc.target/i386/pr45685.c (uint64_t): Replace long with long
long.
(int64_t): Likewise.

From-SVN: r221255

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr45685.c

index 0a9c561c1aebe0c84f2942ec2620a8211f500e33..d89338032a96f0d4b9742dce2028208e176cfb9f 100644 (file)
@@ -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>
 
index 7f50bb332f2c841f75a644281fbe5a71dad7400b..57c6501e2d971b8f869543ed537ebc599380146d 100644 (file)
@@ -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;