gcc/testsuite/gcc.dg/predict-15.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -fdump-tree-profile_estimate" } */ |
| 3 | |
| 4 | int main(int argc, char **argv) |
| 5 | { |
| 6 | if (argc == 123) |
| 7 | goto exit; |
| 8 | else |
| 9 | { |
| 10 | return 0; |
| 11 | } |
| 12 | |
| 13 | exit: |
| 14 | return 1; |
| 15 | } |
| 16 | |
| 17 | /* { dg-final { scan-tree-dump "goto heuristics of edge" "profile_estimate"} } */ |