public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/115140] New: [15 regression] libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c excess errors after r15-579-ga9251ab3c91c8c
@ 2024-05-17 15:26 seurer at gcc dot gnu.org
  2024-05-18 19:36 ` [Bug other/115140] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: seurer at gcc dot gnu.org @ 2024-05-17 15:26 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115140
           Summary: [15 regression]
                    libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof
                    -kernels-1.c excess errors after
                    r15-579-ga9251ab3c91c8c
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:a9251ab3c91c8c559d0306838575a666ae62dff4, r15-579-ga9251ab3c91c8c: 1130
failures

FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 -foffload=disable  -O2   at line
190 (test for warnings, line 185)
FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 -foffload=disable  -O2   at line
221 (test for warnings, line 214)
FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 -foffload=disable  -O2   at line
252 (test for warnings, line 245)
FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 -foffload=disable  -O2  (test for
excess errors)
FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 -foffload=disable  -O2   at line
190 (test for warnings, line 185)
FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 -foffload=disable  -O2   at line
221 (test for warnings, line 214)
FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 -foffload=disable  -O2   at line
252 (test for warnings, line 245)
FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 -foffload=disable  -O2  (test for
excess errors)

commit a9251ab3c91c8c559d0306838575a666ae62dff4 (HEAD)
Author: Richard Biener <rguenther@suse.de>
Date:   Thu May 16 12:35:28 2024 +0200

    wrong code with points-to and volatile



Excess errors:
/home/seurer/gcc/git/gcc-test2/libgomp/testsuite/libgomp.oacc-c/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c:185:9:
optimized: assigned OpenACC seq loop parallelism
/home/seurer/gcc/git/gcc-test2/libgomp/testsuite/libgomp.oacc-c/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c:214:9:
optimized: assigned OpenACC seq loop parallelism
/home/seurer/gcc/git/gcc-test2/libgomp/testsuite/libgomp.oacc-c/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c:245:9:
optimized: assigned OpenACC seq loop parallelism

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug other/115140] [15 regression] libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c excess errors after r15-579-ga9251ab3c91c8c
  2024-05-17 15:26 [Bug other/115140] New: [15 regression] libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c excess errors after r15-579-ga9251ab3c91c8c seurer at gcc dot gnu.org
@ 2024-05-18 19:36 ` pinskia at gcc dot gnu.org
  2024-05-21  6:30 ` [Bug testsuite/115140] " rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-05-18 19:36 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |15.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/115140] [15 regression] libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c excess errors after r15-579-ga9251ab3c91c8c
  2024-05-17 15:26 [Bug other/115140] New: [15 regression] libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c excess errors after r15-579-ga9251ab3c91c8c 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 ` 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
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-05-21  6:30 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|other                       |testsuite
           Keywords|                            |openacc

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
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).

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/115140] [15 regression] libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c excess errors after r15-579-ga9251ab3c91c8c
  2024-05-17 15:26 [Bug other/115140] New: [15 regression] libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c excess errors after r15-579-ga9251ab3c91c8c 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
  3 siblings, 0 replies; 5+ messages in thread
From: ro at gcc dot gnu.org @ 2024-05-22 11:50 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Host|powerpc64-linux-gnu,        |powerpc64-linux-gnu,
                   |powerpc64le-linux-gnu       |powerpc64le-linux-gnu,
                   |                            |*-*-solaris2.11
                 CC|                            |ro at gcc dot gnu.org
              Build|powerpc64-linux-gnu,        |powerpc64-linux-gnu,
                   |powerpc64le-linux-gnu       |powerpc64le-linux-gnu,
                   |                            |*-*-solaris2.11
             Target|powerpc64-linux-gnu,        |powerpc64-linux-gnu,
                   |powerpc64le-linux-gnu       |powerpc64le-linux-gnu,
                   |                            |*-*-solaris2.11

--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> ---
Also seen on Solaris/SPARC and x86.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug testsuite/115140] [15 regression] libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c excess errors after r15-579-ga9251ab3c91c8c
  2024-05-17 15:26 [Bug other/115140] New: [15 regression] libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c excess errors after r15-579-ga9251ab3c91c8c seurer at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2024-05-22 11:50 ` ro at gcc dot gnu.org
@ 2024-05-24  6:39 ` tschwinge at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2024-05-24  6:39 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-24  6:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-17 15:26 [Bug other/115140] New: [15 regression] libgomp.oacc-c++/../libgomp.oacc-c-c++-common/acc_prof-kernels-1.c excess errors after r15-579-ga9251ab3c91c8c 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 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).