OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [c99-tgmath-1.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Test for <tgmath.h> in C99. */
2
/* Origin: Matt Austern <austern@apple.com>
3
/* { dg-do preprocess { target c99_runtime } } */
4
/* { dg-options "-std=iso9899:1999" } */
5
/* { dg-add-options c99_runtime } */
6
/* { dg-skip-if "<complex.h> missing" { alpha*-dec-osf5* } } */
7
 
8
/* Test that tgmath defines the macros it's supposed to. */
9
#include <tgmath.h>
10
 
11
#ifndef acos
12
#error acos undefined
13
#endif
14
 
15
#ifndef asin
16
#error asin undefined
17
#endif
18
 
19
#ifndef atan
20
#error atan undefined
21
#endif
22
 
23
#ifndef acosh
24
#error acosh undefined
25
#endif
26
 
27
#ifndef asinh
28
#error asinh undefined
29
#endif
30
 
31
#ifndef atanh
32
#error atanh undefined
33
#endif
34
 
35
#ifndef cos
36
#error cos undefined
37
#endif
38
 
39
#ifndef sin
40
#error sin undefined
41
#endif
42
 
43
#ifndef tan
44
#error tan undefined
45
#endif
46
 
47
#ifndef cosh
48
#error cosh undefined
49
#endif
50
 
51
#ifndef sinh
52
#error sinh undefined
53
#endif
54
 
55
#ifndef tanh
56
#error tanh undefined
57
#endif
58
 
59
#ifndef exp
60
#error exp undefined
61
#endif
62
 
63
#ifndef log
64
#error log undefined
65
#endif
66
 
67
#ifndef pow
68
#error pow undefined
69
#endif
70
 
71
#ifndef sqrt
72
#error sqrt undefined
73
#endif
74
 
75
#ifndef fabs
76
#error fabs undefined
77
#endif
78
 
79
#ifndef atan2
80
#error atan2 undefined
81
#endif
82
 
83
#ifndef cbrt
84
#error cbrt undefined
85
#endif
86
 
87
#ifndef ceil
88
#error ceil undefined
89
#endif
90
 
91
#ifndef copysign
92
#error copysign undefined
93
#endif
94
 
95
#ifndef erf
96
#error erf undefined
97
#endif
98
 
99
#ifndef erfc
100
#error erfc undefined
101
#endif
102
 
103
#ifndef exp2
104
#error exp2 undefined
105
#endif
106
 
107
#ifndef expm1
108
#error expm1 undefined
109
#endif
110
 
111
#ifndef fdim
112
#error fdim undefined
113
#endif
114
 
115
#ifndef floor
116
#error floor undefined
117
#endif
118
 
119
#ifndef fma
120
#error fma undefined
121
#endif
122
 
123
#ifndef fmax
124
#error fmax undefined
125
#endif
126
 
127
#ifndef fmin
128
#error fmin undefined
129
#endif
130
 
131
#ifndef fmod
132
#error fmod undefined
133
#endif
134
 
135
#ifndef frexp
136
#error frexp undefined
137
#endif
138
 
139
#ifndef hypot
140
#error hypot undefined
141
#endif
142
 
143
#ifndef ilogb
144
#error ilogb undefined
145
#endif
146
 
147
#ifndef ldexp
148
#error ldexp undefined
149
#endif
150
 
151
#ifndef lgamma
152
#error lgamma undefined
153
#endif
154
 
155
#ifndef llrint
156
#error llrint undefined
157
#endif
158
 
159
#ifndef llround
160
#error llround undefined
161
#endif
162
 
163
#ifndef log10
164
#error log10 undefined
165
#endif
166
 
167
#ifndef log1p
168
#error log1p undefined
169
#endif
170
 
171
#ifndef log2
172
#error log2 undefined
173
#endif
174
 
175
#ifndef logb
176
#error logb undefined
177
#endif
178
 
179
#ifndef lrint
180
#error lrint undefined
181
#endif
182
 
183
#ifndef lround
184
#error lround undefined
185
#endif
186
 
187
#ifndef nearbyint
188
#error nearbyint undefined
189
#endif
190
 
191
#ifndef nextafter
192
#error nextafter undefined
193
#endif
194
 
195
#ifndef nexttoward
196
#error nexttoward undefined
197
#endif
198
 
199
#ifndef remainder
200
#error remainder undefined
201
#endif
202
 
203
#ifndef remquo
204
#error remquo undefined
205
#endif
206
 
207
#ifndef rint
208
#error rint undefined
209
#endif
210
 
211
#ifndef round
212
#error round undefined
213
#endif
214
 
215
#ifndef scalbn
216
#error scalbn undefined
217
#endif
218
 
219
#ifndef scalbln
220
#error scalbln undefined
221
#endif
222
 
223
#ifndef tgamma
224
#error tgamma undefined
225
#endif
226
 
227
#ifndef trunc
228
#error trunc undefined
229
#endif
230
 
231
#ifndef carg
232
#error carg undefined
233
#endif
234
 
235
#ifndef cimag
236
#error cimag undefined
237
#endif
238
 
239
#ifndef conj
240
#error conj undefined
241
#endif
242
 
243
#ifndef cproj
244
#error cproj undefined
245
#endif
246
 
247
#ifndef creal
248
#error creal undefined
249
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.