This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/62250] FAIL: gfortran.dg/coarray/alloc_comp_1.f90 -fcoarray=lib -O2 -lcaf_single
- From: "dave.anglin at bell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 07 Jan 2015 03:15:22 +0000
- Subject: [Bug testsuite/62250] FAIL: gfortran.dg/coarray/alloc_comp_1.f90 -fcoarray=lib -O2 -lcaf_single
- Auto-submitted: auto-generated
- References: <bug-62250-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62250
--- Comment #6 from dave.anglin at bell dot net ---
On 2015-01-06, at 9:06 PM, hp at gcc dot gnu.org wrote:
> But instead causing these tests to fail for all targets that don't have
> -latomic.
> I.e. -latomic should only be added when there is one, otherwise assume that
> support is built-in as before the patch. Also, the patch should have used
> atomic-dg.exp instead of manually adding the search paths.
That is clearly a better approach.
What about the gfortran.dg/coarray_lib_comm_1.f90 test? Do you see a better
alternative than adding "load_lib atomic-dg.exp" to gfortran.dg/dg.exp?
--
John David Anglin dave.anglin@bell.net