public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tobias Burnus <tobias@codesourcery.com>
To: Jakub Jelinek <jakub@redhat.com>
Cc: <gcc-patches@gcc.gnu.org>, fortran <fortran@gcc.gnu.org>
Subject: Re: [Patch] openmp: Add omp_aligned_{, c}alloc and omp_{c, re}alloc for Fortran (was: [committed] openmp: Add omp_aligned_{,c}alloc and omp_{c,re}alloc)
Date: Thu, 30 Sep 2021 14:49:27 +0200	[thread overview]
Message-ID: <dfc741e0-e9e5-65c8-9b5e-5c70b931d892@codesourcery.com> (raw)
In-Reply-To: <20210930113101.GZ304296@tucnak>

[-- Attachment #1: Type: text/plain, Size: 461 bytes --]

Forgot to do a "git add" after modifying three testcases ...

This silences the warning for a flag only valid for f951 but not for cc1.

Committed the follow-up as r12-3984.

Tobias

-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955

[-- Attachment #2: committed.diff --]
[-- Type: text/x-patch, Size: 1869 bytes --]

commit ef37ddf477ac4b21ec4d1be9260cfd3b431fd4a9
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Thu Sep 30 14:44:06 2021 +0200

    libgomp.fortran/alloc-*.f90: Add missing dg-prune-output
    
    libgomp/
            * testsuite/libgomp.fortran/alloc-7.f90: Add dg-prune-output
            for -fintrinsic-modules-path= warning of the C compiler.
            * testsuite/libgomp.fortran/alloc-9.f90: Likewise.
            * testsuite/libgomp.fortran/alloc-10.f90: Likewise.

diff --git a/libgomp/testsuite/libgomp.fortran/alloc-10.f90 b/libgomp/testsuite/libgomp.fortran/alloc-10.f90
index d26a83b216a..060c16f312b 100644
--- a/libgomp/testsuite/libgomp.fortran/alloc-10.f90
+++ b/libgomp/testsuite/libgomp.fortran/alloc-10.f90
@@ -1,4 +1,5 @@
 ! { dg-additional-sources alloc-7.c }
+! { dg-prune-output "command-line option '-fintrinsic-modules-path=.*' is valid for Fortran but not for C" }
 module m
   use omp_lib
   use iso_c_binding
diff --git a/libgomp/testsuite/libgomp.fortran/alloc-7.f90 b/libgomp/testsuite/libgomp.fortran/alloc-7.f90
index b047b0e4d10..d8c7eee8c25 100644
--- a/libgomp/testsuite/libgomp.fortran/alloc-7.f90
+++ b/libgomp/testsuite/libgomp.fortran/alloc-7.f90
@@ -1,4 +1,5 @@
 ! { dg-additional-sources alloc-7.c }
+! { dg-prune-output "command-line option '-fintrinsic-modules-path=.*' is valid for Fortran but not for C" }
 module m
   use omp_lib
   use iso_c_binding
diff --git a/libgomp/testsuite/libgomp.fortran/alloc-9.f90 b/libgomp/testsuite/libgomp.fortran/alloc-9.f90
index 6458f35fd1f..1da141631bc 100644
--- a/libgomp/testsuite/libgomp.fortran/alloc-9.f90
+++ b/libgomp/testsuite/libgomp.fortran/alloc-9.f90
@@ -1,4 +1,5 @@
 ! { dg-additional-sources alloc-7.c }
+! { dg-prune-output "command-line option '-fintrinsic-modules-path=.*' is valid for Fortran but not for C" }
 module m
   use omp_lib
   use iso_c_binding

      reply	other threads:[~2021-09-30 12:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30  7:45 [committed] openmp: Add omp_aligned_{,c}alloc and omp_{c,re}alloc Jakub Jelinek
2021-09-30 11:14 ` [Patch] openmp: Add omp_aligned_{,c}alloc and omp_{c,re}alloc for Fortran (was: [committed] openmp: Add omp_aligned_{,c}alloc and omp_{c,re}alloc) Tobias Burnus
2021-09-30 11:31   ` Jakub Jelinek
2021-09-30 12:49     ` Tobias Burnus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dfc741e0-e9e5-65c8-9b5e-5c70b931d892@codesourcery.com \
    --to=tobias@codesourcery.com \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jakub@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).