From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 53CF73841884; Wed, 10 Apr 2024 16:11:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 53CF73841884 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712765489; bh=AIueauvELrThHZGGYbfOZEOq4U3Q7ecTt6BMxf27qx0=; h=From:To:Subject:Date:From; b=N97TAxpqKpv4FMTEoq3U0SpwZYLIflzpvvOijyfE372LvCTlyGu8PTA1VMSF7VuQM 9ngNLbkQu2qUcCD6T4PGjTDfvZivAX8PxNCiGv+pJ26uXOuRHJV46du1UsfS8h/Q3O SGXLtHD54YjqBT7zaQXaURWE9Dx5KpxZ1lfkqWXc= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/31628] New: [gdb/testsuite] Support different compiler versions for different languages Date: Wed, 10 Apr 2024 16:11:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31628 Bug ID: 31628 Summary: [gdb/testsuite] Support different compiler versions for different languages Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: testsuite Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- I recently tried a testsuite run with the clang/clang++ compiler. I ran into some failures in gdb.ada due to the use of test_compiler_info. No language argument is specified because ada is not supported, but then the language defaults to c, meaning the compiler info test is done using clang = but the compiler used is gnatmake. I disregarded this, because the setup is a bit weird, but today I came acro= ss a machine on the gcc compile farm with gnatmake 10.5.0 and gcc 11.4.0, where I run into the exact same problem. A solution could be to drop defaulting to c in test_compiler_info, but it's used in ~300 locations, so that could prove hard to fix manually. Another approach would be to choose the default based on test dir, so ada in gdb.ada and so on. Anyway, probably support for ada needs to be added in test_compiler_info regardless. --=20 You are receiving this mail because: You are on the CC list for the bug.=