public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/94813] New: [10 regression] 'libgomp.fortran/use_device_ptr-1.f90' offloading execution test regression
@ 2020-04-28  7:40 tschwinge at gcc dot gnu.org
  2020-04-28  7:42 ` [Bug fortran/94813] " tschwinge at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2020-04-28  7:40 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94813
           Summary: [10 regression] 'libgomp.fortran/use_device_ptr-1.f90'
                    offloading execution test regression
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: openmp
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: burnus at gcc dot gnu.org, jakub at gcc dot gnu.org,
                    tkoenig at gcc dot gnu.org
  Target Milestone: ---

The recent commit 06eca1acafa27e19e82dc73927394a7a4d0bdbc5 "Fix PR 93956, wrong
pointer when returned via function" regresses in offloading configurations (at
least gcn, nvptx):

    PASS: libgomp.fortran/use_device_ptr-1.f90   -O0  (test for excess errors)
    [-PASS:-]{+FAIL:+} libgomp.fortran/use_device_ptr-1.f90   -O0  execution
test

... for all torture testing variants.

    Program received signal SIGSEGV, Segmentation fault.
    0x0000000000409976 in omp_device_ptr () at
source-gcc/libgomp/testsuite/libgomp.fortran/use_device_ptr-1.f90:508
    508       call copy3_array1(AptrA, BptrB)
    (gdb) bt
    #0  0x0000000000409976 in omp_device_ptr () at
source-gcc/libgomp/testsuite/libgomp.fortran/use_device_ptr-1.f90:508
    #1  0x000000000040b564 in main (argc=1, argv=0x7fffffffd971) at
source-gcc/libgomp/testsuite/libgomp.fortran/use_device_ptr-1.f90:423
    #2  0x00007ffff70f5b97 in __libc_start_main () from
/lib/x86_64-linux-gnu/libc.so.6
    #3  0x0000000000400c6a in _start ()

No regression seen for host-fallback execution.

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

* [Bug fortran/94813] [10 regression] 'libgomp.fortran/use_device_ptr-1.f90' offloading execution test regression
  2020-04-28  7:40 [Bug fortran/94813] New: [10 regression] 'libgomp.fortran/use_device_ptr-1.f90' offloading execution test regression tschwinge at gcc dot gnu.org
@ 2020-04-28  7:42 ` tschwinge at gcc dot gnu.org
  2020-04-28  7:53 ` rguenth at gcc dot gnu.org
  2020-04-28  8:02 ` burnus at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2020-04-28  7:42 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-04-28
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |burnus at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Tobias, please have a look.

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

* [Bug fortran/94813] [10 regression] 'libgomp.fortran/use_device_ptr-1.f90' offloading execution test regression
  2020-04-28  7:40 [Bug fortran/94813] New: [10 regression] 'libgomp.fortran/use_device_ptr-1.f90' offloading execution test regression tschwinge at gcc dot gnu.org
  2020-04-28  7:42 ` [Bug fortran/94813] " tschwinge at gcc dot gnu.org
@ 2020-04-28  7:53 ` rguenth at gcc dot gnu.org
  2020-04-28  8:02 ` burnus at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-04-28  7:53 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.0

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

* [Bug fortran/94813] [10 regression] 'libgomp.fortran/use_device_ptr-1.f90' offloading execution test regression
  2020-04-28  7:40 [Bug fortran/94813] New: [10 regression] 'libgomp.fortran/use_device_ptr-1.f90' offloading execution test regression tschwinge at gcc dot gnu.org
  2020-04-28  7:42 ` [Bug fortran/94813] " tschwinge at gcc dot gnu.org
  2020-04-28  7:53 ` rguenth at gcc dot gnu.org
@ 2020-04-28  8:02 ` burnus at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2020-04-28  8:02 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Thomas Schwinge from comment #1)
> Tobias, please have a look.

That's not that difficult – as Thomas K has written shortly before you filled
this PR: https://gcc.gnu.org/pipermail/fortran/2020-April/054270.html

"... and also caused a regression, see PR 94788.

Reverted on trunk so far, so the upcoming release is OK.
This will still take some more work, I suppose..."

And:
commit r10-8001-gd8df7c404e233abb1e26d8b8370c460732904531
Author: Thomas Koenig <tkoenig@gcc.gnu.org>
Date:   Mon Apr 27 23:49:36 2020 +0200

    Revert r10-7920-g06eca1acafa27e19e82dc73927394a7a4d0bdbc5 .

Hence: Duplicate of PR 94788

*** This bug has been marked as a duplicate of bug 94788 ***

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

end of thread, other threads:[~2020-04-28  8:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28  7:40 [Bug fortran/94813] New: [10 regression] 'libgomp.fortran/use_device_ptr-1.f90' offloading execution test regression tschwinge at gcc dot gnu.org
2020-04-28  7:42 ` [Bug fortran/94813] " tschwinge at gcc dot gnu.org
2020-04-28  7:53 ` rguenth at gcc dot gnu.org
2020-04-28  8:02 ` burnus 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).