1 /* { dg-do compile } */ 2 /* { dg-options "-O -fdump-tree-fre1-details" } */ 3 foo(void)4 int i; int foo(void) { i = 2; int j = i * 2; int k = i + 2; return j == k; } 5 /* { dg-final { scan-tree-dump-times "Replaced " 6 "fre1" } } */ 6