aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlok Kumar Sharma <alokkumar.sharma@amd.com>2020-02-04 17:17:20 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2020-02-04 17:17:20 +0000
commitc3b149eb7697b376df1b3a47d0102afda389ee6d (patch)
tree88ebc515e517a4a47f23e8fbf6792fa8bbe41b14 /bfd
parentdcc9fbc6da9536f65c55dbb67f50ab3c2e086c6e (diff)
downloadgdb-c3b149eb7697b376df1b3a47d0102afda389ee6d.zip
gdb-c3b149eb7697b376df1b3a47d0102afda389ee6d.tar.gz
gdb-c3b149eb7697b376df1b3a47d0102afda389ee6d.tar.bz2
gdb/fortran: Allow for using Flang in Fortran testing
In lib/fortran.exp, in the helper function fortran_int4, there is currently no support for the LLVM Fortran compiler, Flang. As a result we return the default pattern 'unknown' to match against all 4-byte integer types, which causes many tests to fail. The same is true for all of the other helper functions related to finding a suitable type pattern. This commit adds support for Flang. There should be no change when testing with gfortran. gdb/testsuite/ChangeLog: * lib/fortran.exp (fortran_int4): Handle clang. (fortran_int8): Likewise. (fortran_real4): Likewise. (fortran_real8): Likewise. (fortran_complex4): Likewise. (fortran_logical4): Likewise. (fortran_character1): Likewise. Change-Id: Ife0d9828f78361fbd992bf21af746042b017dafc
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions