From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id QvaHLQcpYGJxLAEAWB0awg (envelope-from ) for ; Wed, 20 Apr 2022 11:38:47 -0400 Received: by simark.ca (Postfix, from userid 112) id AC5851E15F; Wed, 20 Apr 2022 11:38:47 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=qXSkfjxT; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 3FE871E15D for ; Wed, 20 Apr 2022 11:38:47 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B4BA73857C4A for ; Wed, 20 Apr 2022 15:38:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B4BA73857C4A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1650469126; bh=GEQxHqTmsvX2gnHiN7GdwsEFefn9Pn/VpJiVlq/xX3E=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=qXSkfjxT34ITkTkql/zxERSxJmlj3sSm/lY9zEZM9LaUiu2urAkVbdKrVLhc48TO5 2KSonQLqZ4Se1b9GjsPS0F+OK2gNinls85wOFQNNjSV9BzXzmMMisViLf4LELnSjka Fa6SkM/8jdZyNx3z8TM+VDIkloo2ASM4tfINszEY= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id BD8AD3858D1E for ; Wed, 20 Apr 2022 15:38:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BD8AD3858D1E Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-251-EK9L4YmdPomV2z6gJa8u4g-1; Wed, 20 Apr 2022 11:38:23 -0400 X-MC-Unique: EK9L4YmdPomV2z6gJa8u4g-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 260151C0514A; Wed, 20 Apr 2022 15:38:23 +0000 (UTC) Received: from f35-zws-1 (unknown [10.2.16.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7CD35572346; Wed, 20 Apr 2022 15:38:22 +0000 (UTC) Date: Wed, 20 Apr 2022 08:38:21 -0700 To: "Kempke, Nils-Christian" Subject: Re: GDB/Fortran: Support for Assumed Rank Zero. Message-ID: <20220420083821.21925246@f35-zws-1> In-Reply-To: References: <20220413112753.4c6f1128@f35-zws-1> <20220414142845.281b878d@f35-zws-1> <20220415123112.697ff872@f35-zws-1> <20220418083328.5fb70540@f35-zws-1> <20220419103027.298d8ea5@f35-zws-1> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Kevin Buettner via Gdb-patches Reply-To: Kevin Buettner Cc: "George, Jini Susan" , "Parasuraman, Hariharan" , "Sharma, Alok Kumar" , "Potharla, Rupesh" , gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On Wed, 20 Apr 2022 06:32:25 +0000 "Kempke, Nils-Christian" wrote: > But running > make check TESTS="gdb.fortran/assumedrank.exp" RUNTESTFLAGS="F90_FOR_TARGET=flang" > and looking at the log will show that the compiler identification actually identified > gcc and gfortran as the compiler used (it will still try to compile with flang but the identified > compiler in get_/test_compiler_info is gcc..). From my run in gdb.log: > > get_compiler_info: gcc-9-3-0 > UNTESTED: gdb.fortran/assumedrank.exp: compiler does not support assumed rank > testcase /.../gdb/testsuite/gdb.fortran/assumedrank.exp completed in 0 seconds > > === gdb Summary === > > # of untested testcases 1 > > The correct command would probably be > > make check TESTS="gdb.fortran/assumedrank.exp" RUNTESTFLAGS="F90_FOR_TARGET=flang > CC_FOR_TARGET=clang" > > which leads to output like: > > Running .../testsuite/gdb.fortran/pointers.exp ... > get_compiler_info: clang-10-0-0 Thanks for this info. I do indeed see similar results when setting both F90_FOR_TARGET and CC_FOR_TARGET. Kevin