public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/101114] New: new test case libgomp.c/../libgomp.c-c++-common/struct-elem-5.c fails after its introduction in r12-1565
@ 2021-06-18  0:17 seurer at gcc dot gnu.org
  2021-06-22 20:44 ` [Bug testsuite/101114] " skpgkp2 at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-06-18  0:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101114
           Summary: new test case
                    libgomp.c/../libgomp.c-c++-common/struct-elem-5.c
                    fails after its introduction in r12-1565
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:275c736e732d29934e4d22e8f030d5aae8c12a52, r12-1565
make  -k check-target-libgomp
RUNTESTFLAGS="c.exp=libgomp.c/../libgomp.c-c++-common/struct-elem-5.c"
FAIL: libgomp.c/../libgomp.c-c++-common/struct-elem-5.c execution test
# of expected passes            1
# of unexpected failures        1

spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/./gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/./gcc/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/bin/
-B/home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/lib/
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/include
-isystem
/home/seurer/gcc/git/install/gcc-test/powerpc64le-unknown-linux-gnu/sys-include
/home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c/../libgomp.c-c++-common/struct-elem-5.c
-B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/
-B/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/.libs
-I/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp
-I/home/seurer/gcc/git/gcc-test/libgomp/testsuite/../../include
-I/home/seurer/gcc/git/gcc-test/libgomp/testsuite/.. -fmessage-length=0
-fno-diagnostics-show-caret -fdiagnostics-color=never -fopenmp -O2
-L/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/.libs
-lm -o ./struct-elem-5.exe
PASS: libgomp.c/../libgomp.c-c++-common/struct-elem-5.c (test for excess
errors)
Setting LD_LIBRARY_PATH to
.:/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/.libs:/home/seurer/gcc/git/build/gcc-test/gcc:/home/seurer/gcc/git/build/gcc-test/./gcc:.:/home/seurer/gcc/git/build/gcc-test/powerpc64le-unknown-linux-gnu/./libgomp/.libs:/home/seurer/gcc/git/build/gcc-test/gcc:/home/seurer/gcc/git/build/gcc-test/./gcc:/home/seurer/gcc/git/build/gcc-test/./gmp/.libs:/home/seurer/gcc/git/build/gcc-test/./prev-gmp/.libs:/home/seurer/gcc/git/build/gcc-test/./mpfr/src/.libs:/home/seurer/gcc/git/build/gcc-test/./prev-mpfr/src/.libs:/home/seurer/gcc/git/build/gcc-test/./mpc/src/.libs:/home/seurer/gcc/git/build/gcc-test/./prev-mpc/src/.libs:/home/seurer/gcc/git/build/gcc-test/./isl/.libs:/home/seurer/gcc/git/build/gcc-test/./prev-isl/.libs
Execution timeout is: 300
spawn [open ...]
FAIL: libgomp.c/../libgomp.c-c++-common/struct-elem-5.c execution test
testcase /home/seurer/gcc/git/gcc-test/libgomp/testsuite/libgomp.c/c.exp
completed in 0 seconds



commit 275c736e732d29934e4d22e8f030d5aae8c12a52 (HEAD)
Author: Chung-Lin Tang <cltang@codesourcery.com>
Date:   Thu Jun 17 21:33:32 2021 +0800

    libgomp: Structure element mapping for OpenMP 5.0

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

* [Bug testsuite/101114] new test case libgomp.c/../libgomp.c-c++-common/struct-elem-5.c fails after its introduction in r12-1565
  2021-06-18  0:17 [Bug testsuite/101114] New: new test case libgomp.c/../libgomp.c-c++-common/struct-elem-5.c fails after its introduction in r12-1565 seurer at gcc dot gnu.org
@ 2021-06-22 20:44 ` skpgkp2 at gmail dot com
  2021-06-24 20:46 ` seurer at gcc dot gnu.org
  2021-06-25 16:46 ` cvs-commit at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: skpgkp2 at gmail dot com @ 2021-06-22 20:44 UTC (permalink / raw)
  To: gcc-bugs

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

Sunil Pandey <skpgkp2 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #1 from Sunil Pandey <skpgkp2 at gmail dot com> ---
Also saw the same issue  on x86 target.

On Linux/x86_64,

275c736e732d29934e4d22e8f030d5aae8c12a52 is the first bad commit
commit 275c736e732d29934e4d22e8f030d5aae8c12a52
Author: Chung-Lin Tang <cltang@codesourcery.com>
Date:   Thu Jun 17 21:33:32 2021 +0800

    libgomp: Structure element mapping for OpenMP 5.0

caused

FAIL: libgomp.c/../libgomp.c-c++-common/struct-elem-5.c execution test


with GCC configured with

../../gcc/configure
--prefix=/local/skpandey/gccwork/toolwork/gcc-bisect-master/master/r12-1565/usr
--enable-clocale=gnu --with-system-zlib --with-demangler-in-ld
--with-fpmath=sse --enable-languages=c,c++,fortran --enable-cet --without-isl
--enable-libmpx x86_64-linux --disable-bootstrap

To reproduce:

$ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check
RUNTESTFLAGS="c++.exp=libgomp.c-c++-common/struct-elem-5.c
--target_board='unix{-m32}'"
$ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check
RUNTESTFLAGS="c++.exp=libgomp.c-c++-common/struct-elem-5.c
--target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check
RUNTESTFLAGS="c++.exp=libgomp.c-c++-common/struct-elem-5.c
--target_board='unix{-m64}'"
$ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check
RUNTESTFLAGS="c++.exp=libgomp.c-c++-common/struct-elem-5.c
--target_board='unix{-m64\ -march=cascadelake}'"

(Please do not reply to this email, for question about this report, contact me
at skpgkp2 at gmail dot com)

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

* [Bug testsuite/101114] new test case libgomp.c/../libgomp.c-c++-common/struct-elem-5.c fails after its introduction in r12-1565
  2021-06-18  0:17 [Bug testsuite/101114] New: new test case libgomp.c/../libgomp.c-c++-common/struct-elem-5.c fails after its introduction in r12-1565 seurer at gcc dot gnu.org
  2021-06-22 20:44 ` [Bug testsuite/101114] " skpgkp2 at gmail dot com
@ 2021-06-24 20:46 ` seurer at gcc dot gnu.org
  2021-06-25 16:46 ` cvs-commit at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-06-24 20:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from seurer at gcc dot gnu.org ---
To be complete this shows up as two failures:

FAIL: libgomp.c++/../libgomp.c-c++-common/struct-elem-5.c execution test
FAIL: libgomp.c/../libgomp.c-c++-common/struct-elem-5.c execution test

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

* [Bug testsuite/101114] new test case libgomp.c/../libgomp.c-c++-common/struct-elem-5.c fails after its introduction in r12-1565
  2021-06-18  0:17 [Bug testsuite/101114] New: new test case libgomp.c/../libgomp.c-c++-common/struct-elem-5.c fails after its introduction in r12-1565 seurer at gcc dot gnu.org
  2021-06-22 20:44 ` [Bug testsuite/101114] " skpgkp2 at gmail dot com
  2021-06-24 20:46 ` seurer at gcc dot gnu.org
@ 2021-06-25 16:46 ` cvs-commit at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-06-25 16:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Chung-Lin Tang <cltang@gcc.gnu.org>:

https://gcc.gnu.org/g:e0672017370b9a9362fda52ecffe33d1c9c41829

commit r12-1813-ge0672017370b9a9362fda52ecffe33d1c9c41829
Author: Chung-Lin Tang <cltang@codesourcery.com>
Date:   Sat Jun 26 00:42:58 2021 +0800

    testsuite/101114: Adjust libgomp.c-c++-common/struct-elem-5.c testcase

    The dg-shouldfail testcase libgomp.c-c++-common/struct-elem-5.c does not
    properly fail for non-shared address space offloading. Adjust testcase
    to limit testing only for "target offload_device_nonshared_as".

    libgomp/ChangeLog:

            PR testsuite/101114
            * testsuite/libgomp.c-c++-common/struct-elem-5.c:
            Add "target offload_device_nonshared_as" condition for enabling
test.

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

end of thread, other threads:[~2021-06-25 16:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18  0:17 [Bug testsuite/101114] New: new test case libgomp.c/../libgomp.c-c++-common/struct-elem-5.c fails after its introduction in r12-1565 seurer at gcc dot gnu.org
2021-06-22 20:44 ` [Bug testsuite/101114] " skpgkp2 at gmail dot com
2021-06-24 20:46 ` seurer at gcc dot gnu.org
2021-06-25 16:46 ` cvs-commit 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).