public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/66715] New: libgomp.oacc-c/../libgomp.oacc-c-c++-common/data-{2,3}.c exec fails -Ofast
@ 2015-06-30 22:38 vries at gcc dot gnu.org
  2015-06-30 22:40 ` [Bug libgomp/66715] " vries at gcc dot gnu.org
  2015-07-10 15:20 ` vries at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2015-06-30 22:38 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66715
           Summary: libgomp.oacc-c/../libgomp.oacc-c-c++-common/data-{2,3}
                    .c exec fails -Ofast
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

With gomp-4_0-branch, when running target-libgomp testsuite with
--target_board=unix/-Ofast, we have:

c.exp:
...
FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/data-2.c
-DACC_DEVICE_TYPE_host_nonshm=1 -DACC_MEM_SHARED=0 execution test
FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/data-3.c
-DACC_DEVICE_TYPE_host_nonshm=1 -DACC_MEM_SHARED=0 execution test
FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/data-2.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 execution test
FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/data-3.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 execution test
...

c++.exp:
...
FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/data-2.c
-DACC_DEVICE_TYPE_host_nonshm=1 -DACC_MEM_SHARED=0 execution test
FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/data-3.c
-DACC_DEVICE_TYPE_host_nonshm=1 -DACC_MEM_SHARED=0 execution test
FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/data-2.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 execution test
FAIL: libgomp.oacc-c++/../libgomp.oacc-c-c++-common/data-3.c
-DACC_DEVICE_TYPE_host=1 -DACC_MEM_SHARED=1 execution test
...

failure mode:
...
(gdb) up
#2  0x000000000040347f in main (argc=<optimized out>, argv=<optimized out>)
    at
src/libgomp/testsuite/libgomp.oacc-c/../libgomp.oacc-c-c++-common/data-2.c:40
40              abort ();
(gdb) l
35      #pragma acc wait
36      
37        for (i = 0; i < N; i++)
38          {
39            if (a[i] != 3.0)
40              abort ();
41      
42            if (b[i] != 3.0)
43              abort ();
44          }
...


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

* [Bug libgomp/66715] libgomp.oacc-c/../libgomp.oacc-c-c++-common/data-{2,3}.c exec fails -Ofast
  2015-06-30 22:38 [Bug libgomp/66715] New: libgomp.oacc-c/../libgomp.oacc-c-c++-common/data-{2,3}.c exec fails -Ofast vries at gcc dot gnu.org
@ 2015-06-30 22:40 ` vries at gcc dot gnu.org
  2015-07-10 15:20 ` vries at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2015-06-30 22:40 UTC (permalink / raw)
  To: gcc-bugs

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

vries at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |6.0

--- Comment #1 from vries at gcc dot gnu.org ---
This failure also reproduces on trunk


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

* [Bug libgomp/66715] libgomp.oacc-c/../libgomp.oacc-c-c++-common/data-{2,3}.c exec fails -Ofast
  2015-06-30 22:38 [Bug libgomp/66715] New: libgomp.oacc-c/../libgomp.oacc-c-c++-common/data-{2,3}.c exec fails -Ofast vries at gcc dot gnu.org
  2015-06-30 22:40 ` [Bug libgomp/66715] " vries at gcc dot gnu.org
@ 2015-07-10 15:20 ` vries at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2015-07-10 15:20 UTC (permalink / raw)
  To: gcc-bugs

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

vries at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from vries at gcc dot gnu.org ---
-Ofast: Optimize for speed disregarding exact standards compliance

The testcase contains floating point operations. So, marking resolved-invalid.


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

end of thread, other threads:[~2015-07-10 15:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-30 22:38 [Bug libgomp/66715] New: libgomp.oacc-c/../libgomp.oacc-c-c++-common/data-{2,3}.c exec fails -Ofast vries at gcc dot gnu.org
2015-06-30 22:40 ` [Bug libgomp/66715] " vries at gcc dot gnu.org
2015-07-10 15:20 ` vries 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).