projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac3c489
)
[gdb/testsuite] Require GCC >= 5.x.x in gdb.base/utf8-identifiers.exp
author
Tom de Vries
<tdevries@suse.de>
Mon, 24 Apr 2023 12:48:06 +0000
(14:48 +0200)
committer
Tom de Vries
<tdevries@suse.de>
Mon, 24 Apr 2023 12:48:06 +0000
(14:48 +0200)
Test-case gdb.base/utf8-identifiers.exp compiles starting with GCC 5, so
require this.
Tested on x86_64-linux.
gdb/testsuite/gdb.base/utf8-identifiers.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.base/utf8-identifiers.exp
b/gdb/testsuite/gdb.base/utf8-identifiers.exp
index a6ef80fb0bd12d61eeee075ec75f86637f2aabb0..48dce3cdc118e5a8f8ccdcfde940a9bcc2abcbd3 100644
(file)
--- a/
gdb/testsuite/gdb.base/utf8-identifiers.exp
+++ b/
gdb/testsuite/gdb.base/utf8-identifiers.exp
@@
-21,6
+21,11
@@
load_lib completion-support.exp
+if { [is_c_compiler_gcc] } {
+ # Gcc fully supports fextended-identifiers starting GCC 5.
+ require {expr [gcc_major_version] >= 5}
+}
+
standard_testfile
# Enable basic use of UTF-8. LC_ALL gets reset for each testfile.