From: Tom Tromey Date: Tue, 2 Dec 2025 15:04:37 +0000 (-0700) Subject: Require GNAT 8 for gdb.ada/recursive-access.exp X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd2542cb1ef97a5d868e3d5ff18b50a0a629ab88;p=thirdparty%2Fbinutils-gdb.git Require GNAT 8 for gdb.ada/recursive-access.exp 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 --- diff --git a/gdb/testsuite/gdb.ada/recursive-access.exp b/gdb/testsuite/gdb.ada/recursive-access.exp index 833be936a10..ff29d276ee8 100644 --- a/gdb/testsuite/gdb.ada/recursive-access.exp +++ b/gdb/testsuite/gdb.ada/recursive-access.exp @@ -19,6 +19,11 @@ load_lib "ada.exp" 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}] != ""} {