public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/95062] New: [10/11 Regression] libgomp.oacc-c-c++-common/pr92843-1.c:26: verify_array: Assertion `array[i] == value' failed
@ 2020-05-11 16:32 tschwinge at gcc dot gnu.org
  2020-05-12  6:56 ` [Bug libgomp/95062] " rguenth at gcc dot gnu.org
  2020-07-15 12:57 ` tschwinge at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2020-05-11 16:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95062
           Summary: [10/11 Regression]
                    libgomp.oacc-c-c++-common/pr92843-1.c:26:
                    verify_array: Assertion `array[i] == value' failed
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: openacc
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org, jules at gcc dot gnu.org
  Target Milestone: ---

As made apparent by the 'dg-xfail-run-if' added, r279621 "OpenACC reference
count overhaul" regressed the 'libgomp.oacc-c-c++-common/pr92843-1.c' test
case:

    pr92843-1.exe: [...]/libgomp.oacc-c-c++-common/pr92843-1.c:26:
verify_array: Assertion `array[i] == value' failed.

There are patches to cure this:
<http://mid.mail-archive.com/666bd70af1514e8a3d80fa9ad1ef114bbc2b3a80.1579292772.git.julian@codesourcery.com>
"Introduce dynamic data mapping sentinel for OpenACC",
<http://mid.mail-archive.com/4bbb4970cd48424873573a50e627786cc9cf3378.1579292772.git.julian@codesourcery.com"
"Don't copy back vars mapped with acc_map_data", but these have issues on their
own (cause other regressions).

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

* [Bug libgomp/95062] [10/11 Regression] libgomp.oacc-c-c++-common/pr92843-1.c:26: verify_array: Assertion `array[i] == value' failed
  2020-05-11 16:32 [Bug libgomp/95062] New: [10/11 Regression] libgomp.oacc-c-c++-common/pr92843-1.c:26: verify_array: Assertion `array[i] == value' failed tschwinge at gcc dot gnu.org
@ 2020-05-12  6:56 ` rguenth at gcc dot gnu.org
  2020-07-15 12:57 ` tschwinge at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-05-12  6:56 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.2

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

* [Bug libgomp/95062] [10/11 Regression] libgomp.oacc-c-c++-common/pr92843-1.c:26: verify_array: Assertion `array[i] == value' failed
  2020-05-11 16:32 [Bug libgomp/95062] New: [10/11 Regression] libgomp.oacc-c-c++-common/pr92843-1.c:26: verify_array: Assertion `array[i] == value' failed tschwinge at gcc dot gnu.org
  2020-05-12  6:56 ` [Bug libgomp/95062] " rguenth at gcc dot gnu.org
@ 2020-07-15 12:57 ` tschwinge at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2020-07-15 12:57 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassigned at gcc dot gnu.org      |tschwinge at gcc dot gnu.org

--- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
(In reply to Thomas Schwinge from comment #0)
> There are patches to cure this: [...], but these have issues on their own (cause other regressions).

Instead, this issue has been fixed by commit
r11-1808-ge7f3f7fe08bdd49367f682398e1d2f4e6b60ef84 "[OpenACC] Revert
always-copyfrom behavior for 'GOMP_MAP_FORCE_FROM' in
'libgomp/oacc-mem.c:goacc_exit_data_internal'" (commit
r10-8423-g50666d23b52794774eefbeff046d5c3235db8b99) plus commit
r11-2020-g6f5b4b64d25a36f085ab90efc3d54c025a7fff49 "openacc: Adjust dynamic
reference count semantics" (commit
r10-8477-gb8be66d151f5dac79ca13aed33697466195dd800).

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

end of thread, other threads:[~2020-07-15 12:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 16:32 [Bug libgomp/95062] New: [10/11 Regression] libgomp.oacc-c-c++-common/pr92843-1.c:26: verify_array: Assertion `array[i] == value' failed tschwinge at gcc dot gnu.org
2020-05-12  6:56 ` [Bug libgomp/95062] " rguenth at gcc dot gnu.org
2020-07-15 12:57 ` 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).