aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr68619-2.c
blob: cca706e0c4f4d81ddb2eb423ec8cf59dcd354316 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-dom2-details -w" } */

typedef union tree_node *tree;
struct gcc_options
{
  int x_flag_finite_math_only;
};
extern struct gcc_options global_options;
enum mode_class
{ MODE_RANDOM, MODE_CC, MODE_INT, MODE_PARTIAL_INT, MODE_FRACT, MODE_UFRACT,
  MODE_ACCUM, MODE_UACCUM, MODE_FLOAT, MODE_DECIMAL_FLOAT, MODE_COMPLEX_INT,
  MODE_COMPLEX_FLOAT, MODE_VECTOR_INT, MODE_VECTOR_FRACT,
  MODE_VECTOR_UFRACT, MODE_VECTOR_ACCUM, MODE_VECTOR_UACCUM,
  MODE_VECTOR_FLOAT, MAX_MODE_CLASS
};
extern const unsigned char mode_class[27];
extern const unsigned char mode_inner[27];
struct real_value
{
};
struct real_format
{
  unsigned char has_inf;
};
extern const struct real_format *real_format_for_mode[5 -
						      2 + 1 + 15 - 10 + 1];
struct tree_type
{
};
union tree_node
{
  int code;
  int mode;
  struct tree_type type;
};
tree
omp_reduction_init (tree clause, tree type)
{
  if ((((type)->code) == 64))
    {
      struct real_value max;
      if (((((mode_class[((((type))->code) ==
			  32 ?
			  vector_type_mode (type)
			  : (type)->mode)]) ==
	     MODE_VECTOR_FLOAT)
	    &&
	    ((real_format_for_mode
	      [((mode_class[((mode_class[((((type))->code) ==
					  32 ?
					  vector_type_mode (type)
					  : (type)->mode)]) ==
			     12) ? (((((type))->code)
				     ==
				     32 ?
				     vector_type_mode
				     (type)
				     : (type)->mode))
			    : (mode_inner[((((type))->code) ==
					   32 ?
					   vector_type_mode (type)
					   : (type)->mode)])]) ==
		12)
	       ? (((((mode_class[((((type))->code) ==
				  32 ? vector_type_mode (type)
				  : (type)->mode)]) ==
		     12) ? (((((type))->code) ==
			     32 ?
			     vector_type_mode (type)
			     : (type)->mode)) : (mode_inner
						 [((((type))->code) ==
						   32 ?
						   vector_type_mode (type)
						   : (type)->mode)])) - 10) +
		  (5 - 2 +
		   1))
	       : ((((mode_class
		     [((((type))->code) ==
		       32 ? vector_type_mode (type) : (type)->mode)]) ==
		    12) ? (((((type))->code) ==
			    32 ? vector_type_mode (type) : (type)->
			    mode)) : (mode_inner[((((type))->code) ==
						  32 ? vector_type_mode (type)
						  : (type)->mode)])) -
		  2)]))->has_inf) && !global_options.x_flag_finite_math_only))
	real_inf (&max);
    }
}

/* { dg-final { scan-tree-dump "Marking all outgoing edges of unreachable" "dom2"} } */