Commit 8e914068 by Marek Polacek Committed by Marek Polacek

* gcc.dg/pr59846.c (fn1, fn2): Use ULL suffix.

From-SVN: r207026
parent 16370fa7
2014-01-24 Marek Polacek <polacek@redhat.com>
* gcc.dg/pr59846.c (fn1, fn2): Use ULL suffix.
2014-01-23 H.J. Lu <hongjiu.lu@intel.com>
PR target/59929
......
......@@ -5,13 +5,13 @@
_Bool
fn1 (unsigned int p)
{
return 0UL > p; /* { dg-warning "14:comparison is always false due to limited range of data type" } */
return 0ULL > p; /* { dg-warning "15:comparison is always false due to limited range of data type" } */
}
_Bool
fn2 (unsigned int p)
{
return 0UL <= p; /* { dg-warning "14:comparison is always true due to limited range of data type" } */
return 0ULL <= p; /* { dg-warning "15:comparison is always true due to limited range of data type" } */
}
_Bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment