On Jan 7, 2015, at 6:32 PM, Hans-Peter Nilsson
wrote:
> PR62250 (r219171) was about some fortran tests that used atomic
> operations but failing on systems where -latomic is required.
> The fix was to always add -latomic. That caused test-suite
> regressions for targets that don't have libatomic
On 2015-01-07, at 9:32 PM, Hans-Peter Nilsson wrote:
> gcc/testsuite:
> PR testsuite/62250
> * lib/target-supports.exp (check_effective_target_libatomic_available):
> New.
> * gfortran.dg/coarray/caf.exp: Only add -latomic for
> targets that match effective-target lib
PR62250 (r219171) was about some fortran tests that used atomic
operations but failing on systems where -latomic is required.
The fix was to always add -latomic. That caused test-suite
regressions for targets that don't have libatomic, but where the
required operations are built-in (no separate PR