Tom pointed out that gdb.ada/recursive-access.exp causes a compiler
crash with gcc 7.5. This patch adjusts the test case to skip testing
in this case.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33664
Approved-By: Tom de Vries <tdevries@suse.de>
require allow_ada_tests
+# This test causes at least the 7.5 compiler to crash. We're not sure
+# when the bug was fixed so we're choosing a version newer than the
+# known crash.
+require {gnat_version_compare >= 8}
+
standard_ada_testfile prog
if {[gdb_compile_ada "${srcfile}" "${binfile}" executable {debug}] != ""} {