Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/pr68619-2.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-dom2-details -w" } */
3
4 typedef union tree_node *tree;
5 struct gcc_options
6 {
7 int x_flag_finite_math_only;
8 };
9 extern struct gcc_options global_options;
10 enum mode_class
11 { MODE_RANDOM, MODE_CC, MODE_INT, MODE_PARTIAL_INT, MODE_FRACT, MODE_UFRACT,
12 MODE_ACCUM, MODE_UACCUM, MODE_FLOAT, MODE_DECIMAL_FLOAT, MODE_COMPLEX_INT,
13 MODE_COMPLEX_FLOAT, MODE_VECTOR_INT, MODE_VECTOR_FRACT,
14 MODE_VECTOR_UFRACT, MODE_VECTOR_ACCUM, MODE_VECTOR_UACCUM,
15 MODE_VECTOR_FLOAT, MAX_MODE_CLASS
16 };
17 extern const unsigned char mode_class[27];
18 extern const unsigned char mode_inner[27];
19 struct real_value
20 {
21 };
22 struct real_format
23 {
24 unsigned char has_inf;
25 };
26 extern const struct real_format *real_format_for_mode[5 -
27 2 + 1 + 15 - 10 + 1];
28 struct tree_type
29 {
30 };
31 union tree_node
32 {
33 int code;
34 int mode;
35 struct tree_type type;
36 };
37 int vector_type_mode (tree);
38 void real_inf (struct real_value *);
39 tree
40 omp_reduction_init (tree clause, tree type)
41 {
42 if ((((type)->code) == 64))
43 {
44 struct real_value max;
45 if (((((mode_class[((((type))->code) ==
46 32 ?
47 vector_type_mode (type)
48 : (type)->mode)]) ==
49 MODE_VECTOR_FLOAT)
50 &&
51 ((real_format_for_mode
52 [((mode_class[((mode_class[((((type))->code) ==
53 32 ?
54 vector_type_mode (type)
55 : (type)->mode)]) ==
56 12) ? (((((type))->code)
57 ==
58 32 ?
59 vector_type_mode
60 (type)
61 : (type)->mode))
62 : (mode_inner[((((type))->code) ==
63 32 ?
64 vector_type_mode (type)
65 : (type)->mode)])]) ==
66 12)
67 ? (((((mode_class[((((type))->code) ==
68 32 ? vector_type_mode (type)
69 : (type)->mode)]) ==
70 12) ? (((((type))->code) ==
71 32 ?
72 vector_type_mode (type)
73 : (type)->mode)) : (mode_inner
74 [((((type))->code) ==
75 32 ?
76 vector_type_mode (type)
77 : (type)->mode)])) - 10) +
78 (5 - 2 +
79 1))
80 : ((((mode_class
81 [((((type))->code) ==
82 32 ? vector_type_mode (type) : (type)->mode)]) ==
83 12) ? (((((type))->code) ==
84 32 ? vector_type_mode (type) : (type)->
85 mode)) : (mode_inner[((((type))->code) ==
86 32 ? vector_type_mode (type)
87 : (type)->mode)])) -
88 2)]))->has_inf) && !global_options.x_flag_finite_math_only))
89 real_inf (&max);
90 }
91 }
92
93 /* { dg-final { scan-tree-dump "Marking all outgoing edges of unreachable" "dom2"} } */
94