Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / 20050811-1.c
blob010aa5a09ed19f73e0558e418577c8d20b6dd24b
1 /* Test whether -fdump-rtl-all-graph doesn't crash. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-rtl-all-graph" } */
5 int foo (void)
7 return 6;
10 int bar (int x)
12 if (x < 0)
13 return foo () + 8;
14 else if (x > 0)
15 return 2 * foo ();
16 else
17 return foo ();
20 // { dg-final { cleanup-rtl-dump "*" } }