From: Thomas Schwinge <thomas@codesourcery.com>
To: Cesar Philippidis <cesar@codesourcery.com>,
Nathan Sidwell <nathan_sidwell@mentor.com>
Cc: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>,
Jakub Jelinek <jakub@redhat.com>
Subject: Re: [gomp4] OpenACC reduction tests
Date: Sat, 07 Nov 2015 11:15:00 -0000 [thread overview]
Message-ID: <87lhaaxdqa.fsf@kepler.schwinge.homeip.net> (raw)
In-Reply-To: <87d1x9zhz7.fsf@kepler.schwinge.homeip.net>
[-- Attachment #1: Type: text/plain, Size: 2053 bytes --]
Hi!
On Wed, 23 Sep 2015 09:56:44 +0200, I wrote:
> On Fri, 18 Sep 2015 10:11:25 +0200, I wrote:
> > On Fri, 17 Jul 2015 11:13:59 -0700, Cesar Philippidis <cesar@codesourcery.com> wrote:
> > > This patch updates the libgomp OpenACC reduction test cases [...]
> > Given the following
> > -Wuninitialized/-Wmaybe-uninitialized warnings (for -O1, for example),
> > maybe there's some initialization of (internal) variables missing?
> > (These user-visible warnings about compiler internals need to be
> > addressed regardless.) Would you please have a look at that?
> >
> > source-gcc/libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90: In function 'redsub_combined_._omp_fn.0':
> > source-gcc/libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90:73:0: warning: '<anonymous>' is used uninitialized in this function [-Wuninitialized]
> > !$acc loop reduction(+:sum) gang worker vector
> > ^
> > source-gcc/libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90: In function 'redsub_vector_._omp_fn.1':
> > source-gcc/libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90:60:0: warning: '<anonymous>' is used uninitialized in this function [-Wuninitialized]
> > !$acc loop reduction(+:sum) vector
> > ^
> > source-gcc/libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90: In function 'redsub_worker_._omp_fn.2':
> > source-gcc/libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90:47:0: warning: '<anonymous>' is used uninitialized in this function [-Wuninitialized]
> > !$acc loop reduction(+:sum) worker
> > ^
> > source-gcc/libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90: In function 'redsub_gang_._omp_fn.3':
> > source-gcc/libgomp/testsuite/libgomp.oacc-fortran/reduction-5.f90:34:0: warning: 'sum.43' may be used uninitialized in this function [-Wmaybe-uninitialized]
> > !$acc loop reduction(+:sum) gang
> > ^
I didn't see anyone explicitly claim to have fixed that; however, the
warnings are gone.
Grüße
Thomas
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]
next prev parent reply other threads:[~2015-11-07 11:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-17 18:26 [gomp4] OpenACC vector and worker reductions Cesar Philippidis
2015-07-17 18:26 ` [gomp4] OpenACC reduction tests Cesar Philippidis
2015-09-18 8:29 ` Thomas Schwinge
2015-09-23 8:50 ` Thomas Schwinge
2015-11-07 11:15 ` Thomas Schwinge [this message]
2015-09-18 13:40 ` Thomas Schwinge
2016-04-12 11:39 ` [PR testsuite/68242] FAIL: libgomp.oacc-c-c++-common/reduction-2.c, and other OpenACC reduction test case "oddities" (was: [gomp4] OpenACC reduction tests) Thomas Schwinge
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=87lhaaxdqa.fsf@kepler.schwinge.homeip.net \
--to=thomas@codesourcery.com \
--cc=cesar@codesourcery.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jakub@redhat.com \
--cc=nathan_sidwell@mentor.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).