Message ID | 20110623131407.GA17824@intel.com |
---|---|
State | New |
Headers | show |
diff --git a/gcc/testsuite/ChangeLog.x32 b/gcc/testsuite/ChangeLog.x32 index 6581a45..cde8d41 100644 --- a/gcc/testsuite/ChangeLog.x32 +++ b/gcc/testsuite/ChangeLog.x32 @@ -1,3 +1,7 @@ +2011-06-23 H.J. Lu <hongjiu.lu@intel.com> + + * gcc.target/i386/pr49504.c (main): Check correct return value. + 2011-06-22 H.J. Lu <hongjiu.lu@intel.com> PR rtl-optimization/49504 diff --git a/gcc/testsuite/gcc.target/i386/pr49504.c b/gcc/testsuite/gcc.target/i386/pr49504.c index 9128196..503e6c2 100644 --- a/gcc/testsuite/gcc.target/i386/pr49504.c +++ b/gcc/testsuite/gcc.target/i386/pr49504.c @@ -12,7 +12,7 @@ foo (const void* p, unsigned long long q) int main () { - if (foo ((const void*) 0x100, 0x100000000ULL) == 0) + if (foo (foo, 0x100000000ULL) != 0x1) __builtin_abort (); return 0; }