Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr51879-18.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 /* { dg-do compile } */ |
131 | 2 /* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre -fno-tree-copy-prop -fno-tree-dominator-opts" } */ |
111 | 3 |
4 extern int foo (void); | |
5 | |
6 void bar (int c, int *p) | |
7 { | |
8 int *q = p; | |
9 | |
10 if (c) | |
11 *p = foo (); | |
12 else | |
13 *q = foo (); | |
14 } | |
15 | |
16 /* { dg-final { scan-tree-dump-times "foo \\(" 1 "pre"} } */ |