aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr29978.c
blob: e27bbdcd82c8d7ddf424f04a4b0bb9f9014e894d (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 ia32 } } } */