* tree-loop-distribution.c (INCLUDE_ALGORITHM): New header file.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / integer-addr.c
bloba8a9de4ef55d37df7e225472659a26a51c0d223e
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized -fno-strict-aliasing" } */
3 /* Test with fixed address */
4 static int *foo = (int *) (unsigned long) 0x7800000;
6 int func(void) __attribute__ ((noinline));
8 extern int bar(void);
10 int func(void)
12 if (*foo) {
13 return 1;
15 return 0;
19 int foobar(void)
22 if (func()) {
23 *foo = 1;
25 return func();
28 /* { dg-final { scan-tree-dump-times "= func" 2 "optimized" } } */