Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/pr82059.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/82059 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O2 -fdump-tree-isolate-paths" } */ | |
131 | 4 /* { dg-skip-if "accessing data memory with program memory address" { avr-*-* } } */ |
111 | 5 |
6 struct a | |
7 { | |
8 char b; | |
9 struct a *c; | |
10 } d (), f; | |
11 void *e; | |
12 long g; | |
13 void | |
14 h () | |
15 { | |
16 struct a *i = 0; | |
17 if (g) | |
18 i = e; | |
19 if (!i) | |
20 d (); | |
21 i->c = &f; | |
22 i->b = *(char *) h; | |
23 } |