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

--- Comment #14 from John David Anglin <danglin at gcc dot gnu.org> ---
(In reply to Jørgen Kvalsvik from comment #13)
> (In reply to John David Anglin from comment #12)
> > With patch, gcov-29 now passes.  But gcov-30 fails with excess errors
> > 
> > FAIL: gcc.misc-tests/gcov-30.c (test for excess errors)
> > Excess errors:
> > /home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.misc-tests/gcov-30.c:867:1:
> > warning: target does not support atomic profile update, single mode is
> > selected
> 
> Presumably there are is no atomics support on hppa64? It falls back to
> single as it should. Does it pass when combining with your {
> dg-require-effective-target profile_update_atomic } patch?

No.  The patch breaks the test.

It seems we need to define TARGET_HAVE_LIBATOMIC.  Not sure why
this doesn't seem to be needed on linux?  Only rtems seems to define it.

There's something wierd happening with gcov-pr86536.c.  It doesn't always
fail.

Reply via email to