Implement fortran_allocated_operation
This implements the Fortran ALLOCATED intrinsic. gdb/ChangeLog 2021-03-08 Tom Tromey <tom@tromey.com> * f-exp.h (eval_op_f_allocated): Declare. (fortran_allocated_operation): New typedef. * f-lang.c (eval_op_f_allocated): No longer static.
This commit is contained in:
parent
eb4c927182
commit
f403a4e4a5
3 changed files with 15 additions and 2 deletions
|
@ -1209,7 +1209,7 @@ eval_op_f_kind (struct type *expect_type, struct expression *exp,
|
|||
|
||||
/* A helper function for UNOP_FORTRAN_ALLOCATED. */
|
||||
|
||||
static struct value *
|
||||
struct value *
|
||||
eval_op_f_allocated (struct type *expect_type, struct expression *exp,
|
||||
enum noside noside, enum exp_opcode op,
|
||||
struct value *arg1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue