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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
I wonder whether this test shouldn't just do the following,
if it just does the dump check.

OK, admittedly, it also checks that linking works - but that's also handled by
gfortran.dg/coarray/ if libcaf_shared.a can be found.

--- a/gcc/testsuite/gfortran.dg/coarray_51.f90
+++ b/gcc/testsuite/gfortran.dg/coarray_51.f90
@@ -1,4 +1,4 @@
-! { dg-do link }
+! { dg-do compile }
 ! { dg-options "-fcoarray=shared -fdump-tree-original" }
 !
 ! Test that -fcoarray=shared is accepted and generates the same

* * *

Side note: I think the enable_caf_shmem check in
gcc/testsuite/gfortran.dg/coarray/caf.exp doesn't running the testsuite when
testing with an installed GCC – only in-build-dir testing seems to be supported
(checking for the created .a file).

Reply via email to