gdb/testsuite: escape '*' character in pattern used by flang

One of the integer type patterns used by flang included a '*'
character which was not escaped.

gdb/testsuite/ChangeLog:

	* lib/fortran.exp (fortran_int8): Escape '*' in pattern.
This commit is contained in:
Andrew Burgess 2021-06-02 09:47:23 +01:00
parent 45342c7c91
commit 8a222a6b0f
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2021-06-02 Andrew Burgess <andrew.burgess@embecosm.com>
* lib/fortran.exp (fortran_int8): Escape '*' in pattern.
2021-06-01 Tom Tromey <tromey@adacore.com>
* Makefile.in (all): Don't print anything.

View file

@ -49,7 +49,7 @@ proc fortran_int8 {} {
} elseif {[test_compiler_info {gcc-*}]} {
return "integer\\(kind=8\\)"
} elseif {[test_compiler_info {clang-*}]} {
return "integer*8"
return "integer\\*8"
} elseif {[test_compiler_info {icc-*}]} {
return "INTEGER\\(8\\)"
} else {