diff options
author | Tom de Vries <tdevries@suse.de> | 2023-04-24 14:48:06 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-04-24 14:48:06 +0200 |
commit | f20f27e0553b6751c4fa39ce2acb7e0da370ef23 (patch) | |
tree | e40a82b08ddba72a0736883122f01dd939799b30 /gdb | |
parent | ac3c4894cfbfc876fffd193ebf6f6ff55ef62318 (diff) | |
download | binutils-f20f27e0553b6751c4fa39ce2acb7e0da370ef23.zip binutils-f20f27e0553b6751c4fa39ce2acb7e0da370ef23.tar.gz binutils-f20f27e0553b6751c4fa39ce2acb7e0da370ef23.tar.bz2 |
[gdb/testsuite] Require GCC >= 5.x.x in gdb.base/utf8-identifiers.exp
Test-case gdb.base/utf8-identifiers.exp compiles starting with GCC 5, so
require this.
Tested on x86_64-linux.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.base/utf8-identifiers.exp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/utf8-identifiers.exp b/gdb/testsuite/gdb.base/utf8-identifiers.exp index a6ef80f..48dce3c 100644 --- 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. |