public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/115140] [15 regression] libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c excess errors after r15-579-ga9251ab3c91c8c
Date: Fri, 24 May 2024 06:39:30 +0000	[thread overview]
Message-ID: <bug-115140-4-E5654LJBr2@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-115140-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115140

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Host|powerpc64-linux-gnu,        |
                   |powerpc64le-linux-gnu,      |
                   |*-*-solaris2.11             |
              Build|powerpc64-linux-gnu,        |
                   |powerpc64le-linux-gnu,      |
                   |*-*-solaris2.11             |
                 CC|                            |tschwinge at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW
             Target|powerpc64-linux-gnu,        |
                   |powerpc64le-linux-gnu,      |
                   |*-*-solaris2.11             |
   Last reconfirmed|                            |2024-05-24
     Ever confirmed|0                           |1

--- Comment #3 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
So the PASS -> FAIL regressions are due to parloops (for '-O2') no longer
parallelizing the simple OpenACC 'kernels' construct at line 185 (and two
more):

    int x[N];
    #pragma acc kernels
    {
      for (int i = 0; i < N; ++i)
        x[i] = i * i;
    }

(In reply to Richard Biener from comment #1)
> Looks like a testsuite artifact?
> 
> volatile // TODO PR90488
> static int state = -1;
> 
> I've not looked as to why/how we are getting that to influence points-to
> solutions (note as we track also integers volatile on non-pointers can
> matter).

Yeah, it's not obvious to me how that 'state' variable would have such an
effect -- but I've not yet 'diff'ed the dumps.

On the other hand, it's highly likely that there is some relation, as no other
OpenACC 'kernels' test cases did regress.

      parent reply	other threads:[~2024-05-24  6:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-17 15:26 [Bug other/115140] New: " seurer at gcc dot gnu.org
2024-05-18 19:36 ` [Bug other/115140] " pinskia at gcc dot gnu.org
2024-05-21  6:30 ` [Bug testsuite/115140] " rguenth at gcc dot gnu.org
2024-05-22 11:50 ` ro at gcc dot gnu.org
2024-05-24  6:39 ` tschwinge at gcc dot gnu.org [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=bug-115140-4-E5654LJBr2@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).