Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/tree-ssa/ipa-split-1.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O3 -fdump-tree-fnsplit" } */ void do_something_big (void); int test2(int a) { if (a<100) return 1; do_something_big (); do_something_big (); do_something_big (); do_something_big (); do_something_big (); do_something_big (); do_something_big (); do_something_big (); do_something_big (); do_something_big (); do_something_big (); do_something_big (); do_something_big (); return 0; } void test() { test2(10); test2(20); } /* { dg-final { scan-tree-dump-times "Splitting function" 1 "fnsplit"} } */