* check.c (gfc_check_achar): New function
[official-gcc.git] / gcc / fortran / intrinsic.h
blob85f3a253e6cc20c164e8a524f7b579ea1e2665cf
1 /* Header file for intrinsics check, resolve and simplify function
2 prototypes.
3 Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
4 Contributed by Andy Vaught & Katherine Holcomb
6 This file is part of GCC.
8 GCC is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free
10 Software Foundation; either version 2, or (at your option) any later
11 version.
13 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
14 WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 for more details.
18 You should have received a copy of the GNU General Public License
19 along with GCC; see the file COPYING. If not, write to the Free
20 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
21 02111-1307, USA. */
23 /* Expression returned when simplification fails. */
25 extern gfc_expr gfc_bad_expr;
28 /* Check functions. */
29 try gfc_check_a_ikind (gfc_expr *, gfc_expr *);
30 try gfc_check_a_xkind (gfc_expr *, gfc_expr *);
31 try gfc_check_a_p (gfc_expr *, gfc_expr *);
33 try gfc_check_abs (gfc_expr *);
34 try gfc_check_achar (gfc_expr *);
35 try gfc_check_all_any (gfc_expr *, gfc_expr *);
36 try gfc_check_allocated (gfc_expr *);
37 try gfc_check_associated (gfc_expr *, gfc_expr *);
38 try gfc_check_atan2 (gfc_expr *, gfc_expr *);
39 try gfc_check_besn (gfc_expr *, gfc_expr *);
40 try gfc_check_btest (gfc_expr *, gfc_expr *);
41 try gfc_check_char (gfc_expr *, gfc_expr *);
42 try gfc_check_cmplx (gfc_expr *, gfc_expr *, gfc_expr *);
43 try gfc_check_count (gfc_expr *, gfc_expr *);
44 try gfc_check_cshift (gfc_expr *, gfc_expr *, gfc_expr *);
45 try gfc_check_dcmplx (gfc_expr *, gfc_expr *);
46 try gfc_check_dble (gfc_expr *);
47 try gfc_check_digits (gfc_expr *);
48 try gfc_check_dot_product (gfc_expr *, gfc_expr *);
49 try gfc_check_eoshift (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
50 try gfc_check_etime (gfc_expr *);
51 try gfc_check_fstat (gfc_expr *, gfc_expr *);
52 try gfc_check_fn_c (gfc_expr *);
53 try gfc_check_fn_r (gfc_expr *);
54 try gfc_check_fn_rc (gfc_expr *);
55 try gfc_check_fnum (gfc_expr *);
56 try gfc_check_g77_math1 (gfc_expr *);
57 try gfc_check_huge (gfc_expr *);
58 try gfc_check_i (gfc_expr *);
59 try gfc_check_iand (gfc_expr *, gfc_expr *);
60 try gfc_check_ibclr (gfc_expr *, gfc_expr *);
61 try gfc_check_ibits (gfc_expr *, gfc_expr *, gfc_expr *);
62 try gfc_check_ibset (gfc_expr *, gfc_expr *);
63 try gfc_check_idnint (gfc_expr *);
64 try gfc_check_ieor (gfc_expr *, gfc_expr *);
65 try gfc_check_index (gfc_expr *, gfc_expr *, gfc_expr *);
66 try gfc_check_int (gfc_expr *, gfc_expr *);
67 try gfc_check_ior (gfc_expr *, gfc_expr *);
68 try gfc_check_irand (gfc_expr *);
69 try gfc_check_ishft (gfc_expr *, gfc_expr *);
70 try gfc_check_ishftc (gfc_expr *, gfc_expr *, gfc_expr *);
71 try gfc_check_kind (gfc_expr *);
72 try gfc_check_lbound (gfc_expr *, gfc_expr *);
73 try gfc_check_logical (gfc_expr *, gfc_expr *);
74 try gfc_check_min_max (gfc_actual_arglist *);
75 try gfc_check_min_max_integer (gfc_actual_arglist *);
76 try gfc_check_min_max_real (gfc_actual_arglist *);
77 try gfc_check_min_max_double (gfc_actual_arglist *);
78 try gfc_check_matmul (gfc_expr *, gfc_expr *);
79 try gfc_check_merge (gfc_expr *, gfc_expr *, gfc_expr *);
80 try gfc_check_minloc_maxloc (gfc_actual_arglist *);
81 try gfc_check_minval_maxval (gfc_actual_arglist *);
82 try gfc_check_nearest (gfc_expr *, gfc_expr *);
83 try gfc_check_null (gfc_expr *);
84 try gfc_check_pack (gfc_expr *, gfc_expr *, gfc_expr *);
85 try gfc_check_precision (gfc_expr *);
86 try gfc_check_present (gfc_expr *);
87 try gfc_check_product_sum (gfc_actual_arglist *);
88 try gfc_check_radix (gfc_expr *);
89 try gfc_check_rand (gfc_expr *);
90 try gfc_check_range (gfc_expr *);
91 try gfc_check_real (gfc_expr *, gfc_expr *);
92 try gfc_check_repeat (gfc_expr *, gfc_expr *);
93 try gfc_check_reshape (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
94 try gfc_check_scale (gfc_expr *, gfc_expr *);
95 try gfc_check_scan (gfc_expr *, gfc_expr *, gfc_expr *);
96 try gfc_check_second_sub (gfc_expr *);
97 try gfc_check_selected_real_kind (gfc_expr *, gfc_expr *);
98 try gfc_check_set_exponent (gfc_expr *, gfc_expr *);
99 try gfc_check_shape (gfc_expr *);
100 try gfc_check_size (gfc_expr *, gfc_expr *);
101 try gfc_check_sign (gfc_expr *, gfc_expr *);
102 try gfc_check_spread (gfc_expr *, gfc_expr *, gfc_expr *);
103 try gfc_check_srand (gfc_expr *);
104 try gfc_check_stat (gfc_expr *, gfc_expr *);
105 try gfc_check_sum (gfc_expr *, gfc_expr *, gfc_expr *);
106 try gfc_check_transfer (gfc_expr *, gfc_expr *, gfc_expr *);
107 try gfc_check_transpose (gfc_expr *);
108 try gfc_check_trim (gfc_expr *);
109 try gfc_check_ubound (gfc_expr *, gfc_expr *);
110 try gfc_check_umask (gfc_expr *);
111 try gfc_check_unlink (gfc_expr *);
112 try gfc_check_unpack (gfc_expr *, gfc_expr *, gfc_expr *);
113 try gfc_check_verify (gfc_expr *, gfc_expr *, gfc_expr *);
114 try gfc_check_x (gfc_expr *);
117 /* Intrinsic subroutines. */
118 try gfc_check_cpu_time (gfc_expr *);
119 try gfc_check_system_clock (gfc_expr *, gfc_expr *, gfc_expr *);
120 try gfc_check_date_and_time (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
121 try gfc_check_exit (gfc_expr *);
122 try gfc_check_flush (gfc_expr *);
123 try gfc_check_fstat_sub (gfc_expr *, gfc_expr *, gfc_expr *);
124 try gfc_check_mvbits (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *,
125 gfc_expr *);
126 try gfc_check_random_number (gfc_expr *);
127 try gfc_check_random_seed (gfc_expr *, gfc_expr *, gfc_expr *);
128 try gfc_check_etime_sub (gfc_expr *, gfc_expr *);
129 try gfc_check_getcwd_sub (gfc_expr *, gfc_expr *);
130 try gfc_check_stat_sub (gfc_expr *, gfc_expr *, gfc_expr *);
131 try gfc_check_system_sub (gfc_expr *, gfc_expr *);
132 try gfc_check_umask_sub (gfc_expr *, gfc_expr *);
133 try gfc_check_unlink_sub (gfc_expr *, gfc_expr *);
136 /* Simplification functions. */
137 gfc_expr *gfc_simplify_abs (gfc_expr *);
138 gfc_expr *gfc_simplify_achar (gfc_expr *);
139 gfc_expr *gfc_simplify_acos (gfc_expr *);
140 gfc_expr *gfc_simplify_adjustl (gfc_expr *);
141 gfc_expr *gfc_simplify_adjustr (gfc_expr *);
142 gfc_expr *gfc_simplify_aimag (gfc_expr *);
143 gfc_expr *gfc_simplify_aint (gfc_expr *, gfc_expr *);
144 gfc_expr *gfc_simplify_dint (gfc_expr *);
145 gfc_expr *gfc_simplify_anint (gfc_expr *, gfc_expr *);
146 gfc_expr *gfc_simplify_dnint (gfc_expr *);
147 gfc_expr *gfc_simplify_asin (gfc_expr *);
148 gfc_expr *gfc_simplify_atan (gfc_expr *);
149 gfc_expr *gfc_simplify_atan2 (gfc_expr *, gfc_expr *);
150 gfc_expr *gfc_simplify_bit_size (gfc_expr *);
151 gfc_expr *gfc_simplify_btest (gfc_expr *, gfc_expr *);
152 gfc_expr *gfc_simplify_ceiling (gfc_expr *, gfc_expr *);
153 gfc_expr *gfc_simplify_char (gfc_expr *, gfc_expr *);
154 gfc_expr *gfc_simplify_cmplx (gfc_expr *, gfc_expr *, gfc_expr *);
155 gfc_expr *gfc_simplify_conjg (gfc_expr *);
156 gfc_expr *gfc_simplify_cos (gfc_expr *);
157 gfc_expr *gfc_simplify_cosh (gfc_expr *);
158 gfc_expr *gfc_simplify_dcmplx (gfc_expr *, gfc_expr *);
159 gfc_expr *gfc_simplify_dble (gfc_expr *);
160 gfc_expr *gfc_simplify_digits (gfc_expr *);
161 gfc_expr *gfc_simplify_dim (gfc_expr *, gfc_expr *);
162 gfc_expr *gfc_simplify_dprod (gfc_expr *, gfc_expr *);
163 gfc_expr *gfc_simplify_epsilon (gfc_expr *);
164 gfc_expr *gfc_simplify_exp (gfc_expr *);
165 gfc_expr *gfc_simplify_exponent (gfc_expr *);
166 gfc_expr *gfc_simplify_float (gfc_expr *);
167 gfc_expr *gfc_simplify_floor (gfc_expr *, gfc_expr *);
168 gfc_expr *gfc_simplify_fraction (gfc_expr *);
169 gfc_expr *gfc_simplify_huge (gfc_expr *);
170 gfc_expr *gfc_simplify_iachar (gfc_expr *);
171 gfc_expr *gfc_simplify_iand (gfc_expr *, gfc_expr *);
172 gfc_expr *gfc_simplify_ibclr (gfc_expr *, gfc_expr *);
173 gfc_expr *gfc_simplify_ibits (gfc_expr *, gfc_expr *, gfc_expr *);
174 gfc_expr *gfc_simplify_ibset (gfc_expr *, gfc_expr *);
175 gfc_expr *gfc_simplify_ichar (gfc_expr *);
176 gfc_expr *gfc_simplify_ieor (gfc_expr *, gfc_expr *);
177 gfc_expr *gfc_simplify_index (gfc_expr *, gfc_expr *, gfc_expr *);
178 gfc_expr *gfc_simplify_int (gfc_expr *, gfc_expr *);
179 gfc_expr *gfc_simplify_ifix (gfc_expr *);
180 gfc_expr *gfc_simplify_idint (gfc_expr *);
181 gfc_expr *gfc_simplify_ior (gfc_expr *, gfc_expr *);
182 gfc_expr *gfc_simplify_ishft (gfc_expr *, gfc_expr *);
183 gfc_expr *gfc_simplify_ishftc (gfc_expr *, gfc_expr *, gfc_expr *);
184 gfc_expr *gfc_simplify_kind (gfc_expr *);
185 gfc_expr *gfc_simplify_lbound (gfc_expr *, gfc_expr *);
186 gfc_expr *gfc_simplify_len (gfc_expr *);
187 gfc_expr *gfc_simplify_len_trim (gfc_expr *);
188 gfc_expr *gfc_simplify_lge (gfc_expr *, gfc_expr *);
189 gfc_expr *gfc_simplify_lgt (gfc_expr *, gfc_expr *);
190 gfc_expr *gfc_simplify_lle (gfc_expr *, gfc_expr *);
191 gfc_expr *gfc_simplify_llt (gfc_expr *, gfc_expr *);
192 gfc_expr *gfc_simplify_log (gfc_expr *);
193 gfc_expr *gfc_simplify_log10 (gfc_expr *);
194 gfc_expr *gfc_simplify_logical (gfc_expr *, gfc_expr *);
195 gfc_expr *gfc_simplify_min (gfc_expr *);
196 gfc_expr *gfc_simplify_max (gfc_expr *);
197 gfc_expr *gfc_simplify_maxexponent (gfc_expr *);
198 gfc_expr *gfc_simplify_minexponent (gfc_expr *);
199 gfc_expr *gfc_simplify_mod (gfc_expr *, gfc_expr *);
200 gfc_expr *gfc_simplify_modulo (gfc_expr *, gfc_expr *);
201 gfc_expr *gfc_simplify_mvbits (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *,
202 gfc_expr *);
203 gfc_expr *gfc_simplify_nearest (gfc_expr *, gfc_expr *);
204 gfc_expr *gfc_simplify_nint (gfc_expr *, gfc_expr *);
205 gfc_expr *gfc_simplify_null (gfc_expr *);
206 gfc_expr *gfc_simplify_idnint (gfc_expr *);
207 gfc_expr *gfc_simplify_not (gfc_expr *);
208 gfc_expr *gfc_simplify_precision (gfc_expr *);
209 gfc_expr *gfc_simplify_radix (gfc_expr *);
210 gfc_expr *gfc_simplify_range (gfc_expr *);
211 gfc_expr *gfc_simplify_real (gfc_expr *, gfc_expr *);
212 gfc_expr *gfc_simplify_repeat (gfc_expr *, gfc_expr *);
213 gfc_expr *gfc_simplify_reshape (gfc_expr *, gfc_expr *, gfc_expr *,
214 gfc_expr *);
215 gfc_expr *gfc_simplify_rrspacing (gfc_expr *);
216 gfc_expr *gfc_simplify_scale (gfc_expr *, gfc_expr *);
217 gfc_expr *gfc_simplify_scan (gfc_expr *, gfc_expr *, gfc_expr *);
218 gfc_expr *gfc_simplify_selected_int_kind (gfc_expr *);
219 gfc_expr *gfc_simplify_selected_real_kind (gfc_expr *, gfc_expr *);
220 gfc_expr *gfc_simplify_set_exponent (gfc_expr *, gfc_expr *);
221 gfc_expr *gfc_simplify_sign (gfc_expr *, gfc_expr *);
222 gfc_expr *gfc_simplify_shape (gfc_expr *);
223 gfc_expr *gfc_simplify_sin (gfc_expr *);
224 gfc_expr *gfc_simplify_sinh (gfc_expr *);
225 gfc_expr *gfc_simplify_size (gfc_expr *, gfc_expr *);
226 gfc_expr *gfc_simplify_sngl (gfc_expr *);
227 gfc_expr *gfc_simplify_spacing (gfc_expr *);
228 gfc_expr *gfc_simplify_sqrt (gfc_expr *);
229 gfc_expr *gfc_simplify_tan (gfc_expr *);
230 gfc_expr *gfc_simplify_tanh (gfc_expr *);
231 gfc_expr *gfc_simplify_tiny (gfc_expr *);
232 gfc_expr *gfc_simplify_trim (gfc_expr *);
233 gfc_expr *gfc_simplify_ubound (gfc_expr *, gfc_expr *);
234 gfc_expr *gfc_simplify_verify (gfc_expr *, gfc_expr *, gfc_expr *);
236 /* Constant conversion simplification. */
237 gfc_expr *gfc_convert_constant (gfc_expr *, bt, int);
240 /* Resolution functions. */
241 void gfc_resolve_abs (gfc_expr *, gfc_expr *);
242 void gfc_resolve_acos (gfc_expr *, gfc_expr *);
243 void gfc_resolve_aimag (gfc_expr *, gfc_expr *);
244 void gfc_resolve_aint (gfc_expr *, gfc_expr *, gfc_expr *);
245 void gfc_resolve_dint (gfc_expr *, gfc_expr *);
246 void gfc_resolve_all (gfc_expr *, gfc_expr *, gfc_expr *);
247 void gfc_resolve_anint (gfc_expr *, gfc_expr *, gfc_expr *);
248 void gfc_resolve_dnint (gfc_expr *, gfc_expr *);
249 void gfc_resolve_any (gfc_expr *, gfc_expr *, gfc_expr *);
250 void gfc_resolve_asin (gfc_expr *, gfc_expr *);
251 void gfc_resolve_atan (gfc_expr *, gfc_expr *);
252 void gfc_resolve_atan2 (gfc_expr *, gfc_expr *, gfc_expr *);
253 void gfc_resolve_besn (gfc_expr *, gfc_expr *, gfc_expr *);
254 void gfc_resolve_btest (gfc_expr *, gfc_expr *, gfc_expr *);
255 void gfc_resolve_ceiling (gfc_expr *, gfc_expr *, gfc_expr *);
256 void gfc_resolve_char (gfc_expr *, gfc_expr *, gfc_expr *);
257 void gfc_resolve_cmplx (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
258 void gfc_resolve_dcmplx (gfc_expr *, gfc_expr *, gfc_expr *);
259 void gfc_resolve_conjg (gfc_expr *, gfc_expr *);
260 void gfc_resolve_cos (gfc_expr *, gfc_expr *);
261 void gfc_resolve_cosh (gfc_expr *, gfc_expr *);
262 void gfc_resolve_count (gfc_expr *, gfc_expr *, gfc_expr *);
263 void gfc_resolve_cshift (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
264 void gfc_resolve_dble (gfc_expr *, gfc_expr *);
265 void gfc_resolve_dim (gfc_expr *, gfc_expr *, gfc_expr *);
266 void gfc_resolve_dot_product (gfc_expr *, gfc_expr *, gfc_expr *);
267 void gfc_resolve_dprod (gfc_expr *, gfc_expr *, gfc_expr *);
268 void gfc_resolve_eoshift (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *,
269 gfc_expr *);
270 void gfc_resolve_etime_sub (gfc_code *);
271 void gfc_resolve_exp (gfc_expr *, gfc_expr *);
272 void gfc_resolve_exponent (gfc_expr *, gfc_expr *);
273 void gfc_resolve_floor (gfc_expr *, gfc_expr *, gfc_expr *);
274 void gfc_resolve_fnum (gfc_expr *, gfc_expr *);
275 void gfc_resolve_fraction (gfc_expr *, gfc_expr *);
276 void gfc_resolve_fstat (gfc_expr *, gfc_expr *, gfc_expr *);
277 void gfc_resolve_g77_math1 (gfc_expr *, gfc_expr *);
278 void gfc_resolve_getcwd (gfc_expr *, gfc_expr *);
279 void gfc_resolve_getgid (gfc_expr *);
280 void gfc_resolve_getpid (gfc_expr *);
281 void gfc_resolve_getuid (gfc_expr *);
282 void gfc_resolve_iand (gfc_expr *, gfc_expr *, gfc_expr *);
283 void gfc_resolve_ibclr (gfc_expr *, gfc_expr *, gfc_expr *);
284 void gfc_resolve_ibits (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
285 void gfc_resolve_ibset (gfc_expr *, gfc_expr *, gfc_expr *);
286 void gfc_resolve_ieor (gfc_expr *, gfc_expr *, gfc_expr *);
287 void gfc_resolve_ichar (gfc_expr *, gfc_expr *);
288 void gfc_resolve_idnint (gfc_expr *, gfc_expr *);
289 void gfc_resolve_int (gfc_expr *, gfc_expr *, gfc_expr *);
290 void gfc_resolve_ior (gfc_expr *, gfc_expr *, gfc_expr *);
291 void gfc_resolve_ishft (gfc_expr *, gfc_expr *, gfc_expr *);
292 void gfc_resolve_ishftc (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
293 void gfc_resolve_lbound (gfc_expr *, gfc_expr *, gfc_expr *);
294 void gfc_resolve_len (gfc_expr *, gfc_expr *);
295 void gfc_resolve_len_trim (gfc_expr *, gfc_expr *);
296 void gfc_resolve_log (gfc_expr *, gfc_expr *);
297 void gfc_resolve_log10 (gfc_expr *, gfc_expr *);
298 void gfc_resolve_logical (gfc_expr *, gfc_expr *, gfc_expr *);
299 void gfc_resolve_matmul (gfc_expr *, gfc_expr *, gfc_expr *);
300 void gfc_resolve_max (gfc_expr *, gfc_actual_arglist *);
301 void gfc_resolve_maxloc (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
302 void gfc_resolve_maxval (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
303 void gfc_resolve_merge (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
304 void gfc_resolve_min (gfc_expr *, gfc_actual_arglist *);
305 void gfc_resolve_minloc (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
306 void gfc_resolve_minval (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
307 void gfc_resolve_mod (gfc_expr *, gfc_expr *, gfc_expr *);
308 void gfc_resolve_modulo (gfc_expr *, gfc_expr *, gfc_expr *);
309 void gfc_resolve_nearest (gfc_expr *, gfc_expr *, gfc_expr *);
310 void gfc_resolve_nint (gfc_expr *, gfc_expr *, gfc_expr *);
311 void gfc_resolve_not (gfc_expr *, gfc_expr *);
312 void gfc_resolve_pack (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
313 void gfc_resolve_product (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
314 void gfc_resolve_real (gfc_expr *, gfc_expr *, gfc_expr *);
315 void gfc_resolve_repeat (gfc_expr *, gfc_expr *, gfc_expr *);
316 void gfc_resolve_reshape (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *,
317 gfc_expr *);
318 void gfc_resolve_rrspacing (gfc_expr *, gfc_expr *);
319 void gfc_resolve_scale (gfc_expr *, gfc_expr *, gfc_expr *);
320 void gfc_resolve_scan (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
321 void gfc_resolve_second_sub (gfc_code *);
322 void gfc_resolve_set_exponent (gfc_expr *, gfc_expr *, gfc_expr *);
323 void gfc_resolve_shape (gfc_expr *, gfc_expr *);
324 void gfc_resolve_sign (gfc_expr *, gfc_expr *, gfc_expr *);
325 void gfc_resolve_sin (gfc_expr *, gfc_expr *);
326 void gfc_resolve_sinh (gfc_expr *, gfc_expr *);
327 void gfc_resolve_spacing (gfc_expr *, gfc_expr *);
328 void gfc_resolve_spread (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
329 void gfc_resolve_sqrt (gfc_expr *, gfc_expr *);
330 void gfc_resolve_stat (gfc_expr *, gfc_expr *, gfc_expr *);
331 void gfc_resolve_srand (gfc_code *);
332 void gfc_resolve_sum (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
333 void gfc_resolve_system (gfc_expr *, gfc_expr *);
334 void gfc_resolve_tan (gfc_expr *, gfc_expr *);
335 void gfc_resolve_tanh (gfc_expr *, gfc_expr *);
336 void gfc_resolve_transfer (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
337 void gfc_resolve_transpose (gfc_expr *, gfc_expr *);
338 void gfc_resolve_trim (gfc_expr *, gfc_expr *);
339 void gfc_resolve_ubound (gfc_expr *, gfc_expr *, gfc_expr *);
340 void gfc_resolve_umask (gfc_expr *, gfc_expr *);
341 void gfc_resolve_unlink (gfc_expr *, gfc_expr *);
342 void gfc_resolve_unpack (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
343 void gfc_resolve_verify (gfc_expr *, gfc_expr *, gfc_expr *, gfc_expr *);
346 /* Intrinsic subroutine resolution. */
347 void gfc_resolve_cpu_time (gfc_code *);
348 void gfc_resolve_exit (gfc_code *);
349 void gfc_resolve_flush (gfc_code *);
350 void gfc_resolve_fstat_sub (gfc_code *);
351 void gfc_resolve_getarg (gfc_code *);
352 void gfc_resolve_getcwd_sub (gfc_code *);
353 void gfc_resolve_get_command (gfc_code *);
354 void gfc_resolve_get_command_argument (gfc_code *);
355 void gfc_resolve_get_environment_variable (gfc_code *);
356 void gfc_resolve_mvbits (gfc_code *);
357 void gfc_resolve_random_number (gfc_code *);
358 void gfc_resolve_stat_sub (gfc_code *);
359 void gfc_resolve_system_clock (gfc_code *);
360 void gfc_resolve_system_sub (gfc_code *);
361 void gfc_resolve_umask_sub (gfc_code *);
362 void gfc_resolve_unlink_sub (gfc_code *);
365 /* The mvbits() subroutine requires the most arguments: five. */
367 #define MAX_INTRINSIC_ARGS 5
369 extern char *gfc_current_intrinsic,
370 *gfc_current_intrinsic_arg[MAX_INTRINSIC_ARGS];
371 extern locus *gfc_current_intrinsic_where;