Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr40792.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 /* PR tree-optimization/40792 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O3" } */ | |
4 | |
5 void foo (int, char *, int *); | |
6 | |
7 void | |
8 bar (int *a, int *b, ...) | |
9 { | |
10 int c; | |
11 char d[256]; | |
12 foo (*b, d, &c); | |
13 } | |
14 | |
15 static int a, b; | |
16 | |
17 void | |
18 baz (int c) | |
19 { | |
20 bar (&a, &b); | |
21 } |