comparison gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-86.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-fre1" } */
3
4 int foo(int *p, int b, float *q)
5 {
6 int tem;
7 if (b)
8 {
9 *q = 0;
10 tem = *p;
11 }
12 else
13 {
14 *q = 1;
15 tem = *p;
16 }
17 return *p - tem;
18 }
19
20 /* { dg-final { scan-tree-dump "return 0;" "fre1" } } */