Introduce classes for Fortran bound intrinsics
authorTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:27:57 +0000 (07:27 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 8 Mar 2021 14:28:30 +0000 (07:28 -0700)
commit58a76c72648ce1e70bbba8320547a5c4353c48a3
tree71d17343d39255fa0d26caa31eb6d1e27349ce1b
parent2f98abe174b50cf347761345c5e2dc8859dc63b9
Introduce classes for Fortran bound intrinsics

This adds class fortran_bound_1arg and fortran_bound_2arg, to
implement the Fortran lbound and ubound intrinsics.

gdb/ChangeLog
2021-03-08  Tom Tromey  <tom@tromey.com>

* f-lang.c (fortran_bound_1arg::evaluate)
(fortran_bound_2arg::evaluate): New methods.
* f-exp.h (class fortran_bound_1arg, class fortran_bound_2arg):
New.
gdb/ChangeLog
gdb/f-exp.h
gdb/f-lang.c