summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr29978.c
blob: 8c0bf9f5e7525da6b6c7c567b015051c68e08381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* PR target/29978 */
/* { dg-do compile } */
/* { dg-options "-Os" } */

void g ();

void
f (long long v)
{
  if (v > 0xfffffffffLL)
    g ();
  g ();
}

/* Verify there are no redundant jumps jl .L2; jle .L2 */
/* { dg-final { scan-assembler-not "jl\[^e\]*\\.L" { target ilp32 } } } */