This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/59778] FAIL: gcc.dg/atomic/c11-atomic-exec-5.c


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59778

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |testsuite

--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> ---
I tend to think the failure of this test on hppa is mainly a
testsuite issue.  Specifically, the test performs operations that may
raise exceptions and the result of these operations are tested:

      LHSTYPE r = (PRE var_##NAME POST);                                \
      int rexc = fetestexcept (TEST_ALL_EXCEPT);                        \
      if (VALTEST1 (r))                                                 \

The PA-RISC 2.0 Architecture states that the destination is undefined
except in the case when it is one of the source registers for invalid
and divide by zero.  It also appears based on my testing that the results
are not as expected by the test for overflow, underflow and inexact
operations.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]