public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [r14-1579 Regression] FAIL: gfortran.dg/gomp/target-update-1.f90   -O   scan-tree-dump gimple "#pragma omp target update to\\(c \\[len: [0-9]+\\]\\) to\\(present:a \\[len: [0-9]+\\]\\) to\\(e \\[len: [0-9]+\\]\\) from\\(present:b \\[len: [0-9]+\\]\\) from\\(d \\[len: [0-9]+\\]\\)" on Linux/x86_64
@ 2023-06-06 22:50 haochen.jiang
  2023-06-07  7:13 ` Maxim Kuvyrkov
  0 siblings, 1 reply; 2+ messages in thread
From: haochen.jiang @ 2023-06-06 22:50 UTC (permalink / raw)
  To: tobias, gcc-regression, gcc-patches, haochen.jiang

On Linux/x86_64,

4ede915d5dde935a16df2c6640aee5ab22348d30 is the first bad commit
commit 4ede915d5dde935a16df2c6640aee5ab22348d30
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Tue Jun 6 16:47:16 2023 +0200

    openmp: Add support for the 'present' modifier

caused

FAIL: gfortran.dg/gomp/target-update-1.f90   -O   scan-tree-dump gimple "#pragma omp target update to\\(c \\[len: [0-9]+\\]\\) to\\(present:a \\[len: [0-9]+\\]\\) to\\(e \\[len: [0-9]+\\]\\) from\\(present:b \\[len: [0-9]+\\]\\) from\\(d \\[len: [0-9]+\\]\\)"

with GCC configured with

../../gcc/configure --prefix=/export/users/haochenj/src/gcc-bisect/master/master/r14-1579/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}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/target-update-1.f90 --target_board='unix{-m32}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/target-update-1.f90 --target_board='unix{-m32\ -march=cascadelake}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/target-update-1.f90 --target_board='unix{-m64}'"
$ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/target-update-1.f90 --target_board='unix{-m64\ -march=cascadelake}'"

(Please do not reply to this email, for question about this report, contact me at haochen dot jiang at intel.com)

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

* Re: [r14-1579 Regression] FAIL: gfortran.dg/gomp/target-update-1.f90  -O scan-tree-dump gimple "#pragma omp target update to\\(c \\[len: [0-9]+\\]\\) to\\(present:a \\[len: [0-9]+\\]\\) to\\(e \\[len: [0-9]+\\]\\) from\\(present:b \\[len: [0-9]+\\]\\) from\\(d \\[len: [0-9]+\\]\\)" on Linux/x86_64
  2023-06-06 22:50 [r14-1579 Regression] FAIL: gfortran.dg/gomp/target-update-1.f90 -O scan-tree-dump gimple "#pragma omp target update to\\(c \\[len: [0-9]+\\]\\) to\\(present:a \\[len: [0-9]+\\]\\) to\\(e \\[len: [0-9]+\\]\\) from\\(present:b \\[len: [0-9]+\\]\\) from\\(d \\[len: [0-9]+\\]\\)" on Linux/x86_64 haochen.jiang
@ 2023-06-07  7:13 ` Maxim Kuvyrkov
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Kuvyrkov @ 2023-06-07  7:13 UTC (permalink / raw)
  To: Tobias Burnus; +Cc: haochen.jiang, gcc-regression, gcc-patches, haochen.jiang

Hi Tobias,

We are also seeing this failure on arm-linux-gnueabihf.

It seems the problem is different order of variables in output:
- c a e d b
versus expected
- c a e b d

This is tree-dump output on arm-linux-gnueabihf:
      #pragma omp target update to(c [len: 4]) to(present:a [len: 4000]) to(e [len: 4]) from(d [len: 4]) from(present:b [len: 4000])

Let me know if you need any help in troubleshooting this.

--
Maxim Kuvyrkov
https://www.linaro.org




> On Jun 7, 2023, at 02:50, haochen.jiang via Gcc-patches <gcc-patches@gcc.gnu.org> wrote:
> 
> On Linux/x86_64,
> 
> 4ede915d5dde935a16df2c6640aee5ab22348d30 is the first bad commit
> commit 4ede915d5dde935a16df2c6640aee5ab22348d30
> Author: Tobias Burnus <tobias@codesourcery.com>
> Date:   Tue Jun 6 16:47:16 2023 +0200
> 
>    openmp: Add support for the 'present' modifier
> 
> caused
> 
> FAIL: gfortran.dg/gomp/target-update-1.f90   -O   scan-tree-dump gimple "#pragma omp target update to\\(c \\[len: [0-9]+\\]\\) to\\(present:a \\[len: [0-9]+\\]\\) to\\(e \\[len: [0-9]+\\]\\) from\\(present:b \\[len: [0-9]+\\]\\) from\\(d \\[len: [0-9]+\\]\\)"
> 
> with GCC configured with
> 
> ../../gcc/configure --prefix=/export/users/haochenj/src/gcc-bisect/master/master/r14-1579/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}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/target-update-1.f90 --target_board='unix{-m32}'"
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/target-update-1.f90 --target_board='unix{-m32\ -march=cascadelake}'"
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/target-update-1.f90 --target_board='unix{-m64}'"
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="gomp.exp=gfortran.dg/gomp/target-update-1.f90 --target_board='unix{-m64\ -march=cascadelake}'"
> 
> (Please do not reply to this email, for question about this report, contact me at haochen dot jiang at intel.com)


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

end of thread, other threads:[~2023-06-07  7:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-06 22:50 [r14-1579 Regression] FAIL: gfortran.dg/gomp/target-update-1.f90 -O scan-tree-dump gimple "#pragma omp target update to\\(c \\[len: [0-9]+\\]\\) to\\(present:a \\[len: [0-9]+\\]\\) to\\(e \\[len: [0-9]+\\]\\) from\\(present:b \\[len: [0-9]+\\]\\) from\\(d \\[len: [0-9]+\\]\\)" on Linux/x86_64 haochen.jiang
2023-06-07  7:13 ` Maxim Kuvyrkov

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).