summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/float128-2.c
blob: ae899ab23fa26e982751076958e4a3e2812a47b7 (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 } */
/* { 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 ();
}