2014-11-25 Andrew Pinski <apinski@cavium.com>
* gcc.c-torture/execute/
20141125-1.c: New testcase.
From-SVN: r218073
+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
--- /dev/null
+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;
+}
+