aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr79673.c
blob: 2ca667bde4bb644942ae7915ffe6d93a94c3c629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O2" } */

void used(double x);
void usel(long x);
void test(int c)
{
  if (c)
    used(*((double __seg_gs *) 0));
  else
    usel(*((long __seg_gs *) 0));
}