* cfghooks.c (verify_flow_info): Disable check that all probabilities
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / no-r11-3.c
blob39f54f475330f7b93ef7477a05a48767a3fb7575
1 /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
2 /* { dg-skip-if "" { *-*-darwin* } } */
3 /* { dg-skip-if "" { powerpc_elfv2 } } */
4 /* { dg-options "-O2 -mno-pointers-to-nested-functions" } */
6 extern void ext_call (int (func) (void));
8 int
9 outer_func (int init) /* { dg-error "'-mno-pointers-to-nested-functions' option" } */
11 int value = init;
13 int inner (void)
15 return ++value;
18 ext_call (inner);
19 return value;