summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/float128-2.c
blob: 6f9dd97fdf04311a20173d539eb2eb4506c3fbb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* PR target/36710 */

/* { dg-do run { target *-*-linux* *-*-darwin* } } */
/* { dg-options "-Os -msse2" } */
/* { dg-require-effective-target sse2 } */

#include "sse2-check.h"

extern void abort (void);

static void
sse2_test (void)
{
  static volatile __float128 a = 123.0q;

  if ((int) a != 123)
    abort ();
}