20141125-1.c: New testcase.
2014-11-25 Andrew Pinski <apinski@cavium.com> * gcc.c-torture/execute/20141125-1.c: New testcase. From-SVN: r218073
This commit is contained in:
parent
64b4bb607b
commit
8592c20705
@ -1,3 +1,7 @@
|
||||
2014-11-25 Andrew Pinski <apinski@cavium.com>
|
||||
|
||||
* gcc.c-torture/execute/20141125-1.c: New testcase.
|
||||
|
||||
2014-11-25 Tobias Burnus <burnus@net-b.de>
|
||||
|
||||
* gfortran.dg/empty_label.f: Change test to continue testing
|
||||
|
17
gcc/testsuite/gcc.c-torture/execute/20141125-1.c
Normal file
17
gcc/testsuite/gcc.c-torture/execute/20141125-1.c
Normal file
@ -0,0 +1,17 @@
|
||||
int f(long long a) __attribute__((noinline,noclone));
|
||||
int f(long long a)
|
||||
{
|
||||
if (a & 0x3ffffffffffffffull)
|
||||
return 1;
|
||||
return 1024;
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
if(f(0x48375d8000000000ull) != 1)
|
||||
__builtin_abort ();
|
||||
if (f(0xfc00000000000000ull) != 1024)
|
||||
__builtin_abort ();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user