OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR middle-end/43300
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr43300.c
1
/* { dg-do compile } */
2
/* { dg-options "-Os" } */
3
typedef float V2SF __attribute__ ((vector_size (128)));
4
5
V2SF
6
foo (int x, V2SF a)
7
{
8
V2SF b;
9
if (x & 42)
10
b = a;
11
else
12
b = a + (V2SF) {1.0f/0.0f - 1.0f/0.0f, 1.0f/0.0f - 1.0f/0.0f};
13
while (x--)
14
a += b;
15
16
return a;
17
}