Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/20050113-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 1 /* PR c/17297 */ |
2 | |
3 typedef float V2SF __attribute__ ((vector_size (8))); | |
4 | |
5 int test0 (V2SF, V2SF); | |
6 | |
7 int | |
8 main (void) | |
9 { | |
10 V2SF a = (V2SF) {1.0f/0.0f - 1.0f/0.0f, 1.0f/0.0f - 1.0f/0.0f}; | |
11 V2SF b = (V2SF) {567.345, 1984.0}; | |
12 int i; | |
13 | |
14 i = test0 (a, b); | |
15 return i; | |
16 } |