Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr85257.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* PR tree-optimization/85257 */ | |
2 /* { dg-do run { target int128 } } */ | |
3 /* { dg-options "-O2 -fno-tree-ccp" } */ | |
4 | |
5 typedef __int128 V __attribute__ ((__vector_size__ (16 * sizeof (__int128)))); | |
6 | |
7 __int128 __attribute__ ((noipa)) | |
8 foo (void) | |
9 { | |
10 V v = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }; | |
11 return v[5]; | |
12 } | |
13 | |
14 int | |
15 main () | |
16 { | |
17 if (foo () != 6) | |
18 __builtin_abort (); | |
19 return 0; | |
20 } |