Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/vmx/3a-07.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 #include "harness.h" |
2 | |
3 static vector unsigned char | |
4 zero() | |
5 { | |
6 /* MCC allocates a stack slot for and loads an uninitialized local | |
7 variable. */ | |
8 vector unsigned char a; | |
9 return vec_sub(a,a); | |
10 } | |
11 | |
12 static void test() | |
13 { | |
14 static vector unsigned char zerov; | |
15 check(vec_all_eq(zero(), zerov), "zero"); | |
16 } |