comparison gcc/testsuite/gcc.dg/tree-ssa/pr39612.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
comparison
equal deleted inserted replaced
18:1830386684a0 19:2b5abeee2509
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-lim2-details -Wuninitialized" } */
3
4 void foo(int *);
5 void f2(int dst[3], int R)
6 {
7 int i, inter[2];
8
9 for (i = 1; i < R; i++) {
10 if (i & 8)
11 {
12 inter[0] = 1;
13 inter[1] = 1;
14 }
15 }
16
17 foo(inter);
18 }
19
20 /* { dg-final { scan-tree-dump-times "Executing store motion" 2 "lim2" } } */
21 /* { dg-final { scan-tree-dump-not " = inter\\\[\[0-1\]\\\];" "lim2" } } */