Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.c-torture/compile/pr94488.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
145:1830386684a0 | 152:2b5abeee2509 |
---|---|
1 /* PR target/94488 */ | |
2 | |
3 typedef unsigned long V __attribute__((__vector_size__(16))); | |
4 typedef long W __attribute__((__vector_size__(16))); | |
5 | |
6 void | |
7 foo (V *x, unsigned long y) | |
8 { | |
9 *x = *x >> (unsigned int) y; | |
10 } | |
11 | |
12 void | |
13 bar (V *x, unsigned long y) | |
14 { | |
15 *x = *x << (unsigned int) y; | |
16 } | |
17 | |
18 void | |
19 baz (W *x, unsigned long y) | |
20 { | |
21 *x = *x >> (unsigned int) y; | |
22 } |