diff options
author | Nils-Christian Kempke <nils-christian.kempke@intel.com> | 2022-04-11 14:06:55 +0200 |
---|---|---|
committer | Nils-Christian Kempke <nils-christian.kempke@intel.com> | 2022-04-11 14:06:55 +0200 |
commit | 4ec8aa9e94858144a4ca831ae810d741a172d4b7 (patch) | |
tree | 036ee9dd4ea4883e78f2dc598f54aff68fb35180 /gdb/compile/compile-object-run.c | |
parent | ed9ec61174d955a1cb79f4b96dd5339d3e4013ca (diff) | |
download | gdb-4ec8aa9e94858144a4ca831ae810d741a172d4b7.zip gdb-4ec8aa9e94858144a4ca831ae810d741a172d4b7.tar.gz gdb-4ec8aa9e94858144a4ca831ae810d741a172d4b7.tar.bz2 |
gdb/fortran: change default logical type to builtin_logical
According to the Fortran standard, logical is of the size of a
'single numeric storage unit' (just like real and integer). For
gfortran, flang and ifx/ifort this storage unit (or the default
logical type) is of size kind 4, actually occupying 4 bytes of
storage, and so the default type for logical expressions in
Fortran should probably also be Logical*4 and not Logical*2. I
adapted GDB's behavior to be in line with
gfortran/ifort/ifx/flang.
Diffstat (limited to 'gdb/compile/compile-object-run.c')
0 files changed, 0 insertions, 0 deletions