aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr40906-3.c
blob: 13be303cd28a647c7f93438e75be35c0f628eddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* { dg-do run { target *-*-linux* *-*-gnu* } } */
/* { dg-require-effective-target ia32 } */
/* { dg-require-effective-target sse2 } */
/* { dg-options "-O2 -fomit-frame-pointer -fno-asynchronous-unwind-tables -msse2 -mpush-args -mno-accumulate-outgoing-args" } */

#include "sse2-check.h"

void __attribute__((noinline))
f (__float128 a)
{
  if (a != 1.23Q)
    abort ();
}

int __attribute__((noinline))
g (__float128 b)
{
  f (b);
  return 0;
}

static void
sse2_test (void)
{
  g (1.23Q);
}