summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/s390/20071212-1.c
blob: e5d05ad41af864f2c7883ef1598ce2251b640544 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* This used to fail due to bug in the On constraint causing a slgfi
   to be emitted with an immediate not fitting into 32bit.  */

/* { dg-do compile } */
/* { dg-options "-O3 -march=z9-109" } */

long
foo (long a)
{
  return a - (1ULL << 32);
}