From: Tobias Burnus <tobias@codesourcery.com>
To: Jakub Jelinek <jakub@redhat.com>,
Tobias Burnus <tobias@codesourcery.com>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>, fortran <fortran@gcc.gnu.org>
Subject: Re: [Patch] Fortran: OpenMP fix declare simd inside modules and absent linear step [PR106566]
Date: Wed, 17 Aug 2022 15:34:52 +0200 [thread overview]
Message-ID: <adb205e0-31f6-672d-f013-98985edc492e@codesourcery.com> (raw)
In-Reply-To: <YvzoncYVIngDNGP7@tucnak>
On 17.08.22 15:09, Jakub Jelinek wrote:
> On Tue, Aug 16, 2022 at 04:45:07PM +0200, Tobias Burnus wrote:
>> Fortran: OpenMP fix declare simd inside modules and absent linear step [PR106566]
>> ...
> LGTM.
>
>> +! { dg-final { scan-tree-dump-times "__attribute__\\(\\(omp declare simd \\(linear\\(0:ref,step\\(4\\)\\) simdlen\\(8\\)\\)\\)\\)" 2 "gimple" } }
...
>> + integer :: p
> Wonder if it wouldn't be better to use integer(kind=4) explicitly
> when you try to match the size of that multiplied by 1 or 2 in
> dg-final, as say with -fdefault-integer-8 this will fail miserably
> otherwise. Ditto in other spots in this as well as other tests.
I assume(d) that no one would compile with -fdefault-integer-8.
But possibly it should be changed to permit testing with that flag,
given that API routines should be able to handle different default-kind
integers. On the other hand, API routines implies 'omp_lib', which is
only available in libgomp/testsuite/.
> Ok with/without that change.
Thanks for the review.
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
prev parent reply other threads:[~2022-08-17 13:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-16 14:06 [Patch] Fortran: OpenMP fix declare simd inside modules and absent linear [PR106566] Tobias Burnus
2022-08-16 14:45 ` [Patch] Fortran: OpenMP fix declare simd inside modules and absent linear step [PR106566] Tobias Burnus
2022-08-17 13:09 ` Jakub Jelinek
2022-08-17 13:34 ` 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=adb205e0-31f6-672d-f013-98985edc492e@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).