blob: f29eba08c3837ca751660acd1a6634e35059b4a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-do compile { target { powerpc*-*-* } } } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O" } */
/* { dg-final { scan-assembler-not "\\+4611686018427387904" } } */
static int x;
unsigned long
foo (void)
{
return ((unsigned long) &x) - 0xc000000000000000;
}
|