Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr82929.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/82929 */ | |
2 /* { dg-do compile { target store_merge } } */ | |
3 /* { dg-options "-O2 -fdump-tree-store-merging" } */ | |
4 | |
5 void | |
6 foo (short *p, short *q, short *r) | |
7 { | |
8 short a = q[0]; | |
9 short b = q[1]; | |
10 short c = ~a; | |
11 short d = r[0]; | |
12 short e = r[1]; | |
13 short f = ~b; | |
14 p[0] = c & d; | |
15 p[1] = e & f; | |
16 } | |
17 | |
18 /* { dg-final { scan-tree-dump-times "Merging successful" 1 "store-merging" { target { ! arm*-*-* } } } } */ |