2013-11-14 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-vrp-thread-1.c
blob476ee5e941162cf77756961b2d51f3db557aba39
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-vrp1-details" } */
5 struct basic_block_def;
6 typedef struct basic_block_def *basic_block;
7 enum gimple_code
9 LAST_AND_UNUSED_GIMPLE_CODE
11 struct omp_region
13 struct omp_region *outer;
14 basic_block cont;
16 void
17 build_omp_regions_1 (basic_block bb, struct omp_region *parent,
18 unsigned char single_tree, enum gimple_code code)
20 if (code == 25)
21 parent = parent->outer;
22 else if (code == 42)
23 parent->cont = bb;
24 if (single_tree && !parent)
25 return;
26 oof ();
29 /* ARM Cortex-M defined LOGICAL_OP_NON_SHORT_CIRCUIT to false,
30 so skip below test. */
31 /* { dg-final { scan-tree-dump-times "Threaded" 1 "vrp1" { target { ! arm_cortex_m } } } } */
32 /* { dg-final { cleanup-tree-dump "vrp1" } } */