Commit 4db56dfe by Yvan Roux Committed by Yvan Roux

Add missing testcase.

2015-04-14  Yvan Roux  <yvan.roux@linaro.org>

	PR target/65648
	* gcc.c-torture/execute/pr65648.c: New test.

From-SVN: r222083
parent 194571f1
2015-04-14 Yvan Roux <yvan.roux@linaro.org>
PR target/65648
* gcc.c-torture/execute/pr65648.c: New test.
2015-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2015-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.target/i386/avx512dq-vfpclasspd-2.c (check_fp_class_dp): Use * gcc.target/i386/avx512dq-vfpclasspd-2.c (check_fp_class_dp): Use
......
/* PR target/65648 */
int a = 0, *b = 0, c = 0;
static int d = 0;
short e = 1;
static long long f = 0;
long long *i = &f;
unsigned char j = 0;
__attribute__((noinline, noclone)) void
foo (int x, int *y)
{
asm volatile ("" : : "r" (x), "r" (y) : "memory");
}
__attribute__((noinline, noclone)) void
bar (const char *x, long long y)
{
asm volatile ("" : : "r" (x), "r" (&y) : "memory");
if (y != 0)
__builtin_abort ();
}
int
main ()
{
int k = 0;
b = &k;
j = (!a) - (c <= e);
*i = j;
foo (a, &k);
bar ("", f);
return 0;
}
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