blob: 792690e426adc9c9a0da11d8fdf2546542dd7195 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-fre1" } */
unsigned int a, *b;
unsigned short c;
int d;
void
fn1 ()
{
b = &d;
*b = c = a;
*b = d;
}
/* We should remove all loads but that from a. */
/* { dg-final { scan-tree-dump-not "= \[dbc\];" "fre1" } } */
|