diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2024-07-19 16:58:33 +0100 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2024-07-19 16:58:33 +0100 |
commit | 8d6994f33a98a168151a57a3d21395b19196cd9d (patch) | |
tree | c8206634c28203f6da47d1769ea048df65917f41 | |
parent | c93be1606ecf8e0f65b96b67aa023fb456ceb3a3 (diff) | |
download | gcc-8d6994f33a98a168151a57a3d21395b19196cd9d.zip gcc-8d6994f33a98a168151a57a3d21395b19196cd9d.tar.gz gcc-8d6994f33a98a168151a57a3d21395b19196cd9d.tar.bz2 |
libgomp: Remove bogus warnings from privatized-ref-2.f90.
2024-07-19 Paul Thomas <pault@gcc.gnu.org>
libgomp/ChangeLog
* testsuite/libgomp.oacc-fortran/privatized-ref-2.f90: Cut
dg-note about 'a' and remove bogus warnings about its array
descriptor components being used uninitialized.
-rw-r--r-- | libgomp/testsuite/libgomp.oacc-fortran/privatized-ref-2.f90 | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libgomp/testsuite/libgomp.oacc-fortran/privatized-ref-2.f90 b/libgomp/testsuite/libgomp.oacc-fortran/privatized-ref-2.f90 index 498ef70..8cf79a1 100644 --- a/libgomp/testsuite/libgomp.oacc-fortran/privatized-ref-2.f90 +++ b/libgomp/testsuite/libgomp.oacc-fortran/privatized-ref-2.f90 @@ -29,16 +29,10 @@ program main implicit none (type, external) integer :: j integer, allocatable :: A(:) - ! { dg-note {'a' declared here} {} { target *-*-* } .-1 } character(len=:), allocatable :: my_str character(len=15), allocatable :: my_str15 A = [(3*j, j=1, 10)] - ! { dg-bogus {'a\.offset' is used uninitialized} {PR77504 etc.} { xfail *-*-* } .-1 } - ! { dg-bogus {'a\.dim\[0\]\.lbound' is used uninitialized} {PR77504 etc.} { xfail *-*-* } .-2 } - ! { dg-bogus {'a\.dim\[0\]\.ubound' is used uninitialized} {PR77504 etc.} { xfail *-*-* } .-3 } - ! { dg-bogus {'a\.dim\[0\]\.lbound' may be used uninitialized} {PR77504 etc.} { xfail { ! __OPTIMIZE__ } } .-4 } - ! { dg-bogus {'a\.dim\[0\]\.ubound' may be used uninitialized} {PR77504 etc.} { xfail { ! __OPTIMIZE__ } } .-5 } call foo (A, size(A)) call bar (A) my_str = "1234567890" |