s390.md ("udivsi3"): Ensure trap is generated for division by zero.
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 14 Jul 2004 13:09:09 +0000 (13:09 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Wed, 14 Jul 2004 13:09:09 +0000 (13:09 +0000)
commit220a826e6d1fa35c9b64abea2f4dbc662ecb5126
tree8c1149be9d6bd70d5d9e66146dc0e63270631f23
parentbb732af86378799aa21ead613328f261480aad14
s390.md ("udivsi3"): Ensure trap is generated for division by zero.

gcc/ChangeLog:

* config/s390/s390.md ("udivsi3"): Ensure trap is generated
for division by zero.
("umodsi3"): Likewise.

libjava/ChangeLog:

* configure.host (DIVIDESPEC) [s390*-*-*]: Set to
-fno-use-divide-subroutine.
* include/s390-signal.h: Include <ucontext.h> and <limits.h>.
(HANDLE_FPE): Define.
(SIGNAL_HANDLER): Change third argument to ucontext_t *.
(struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
(HANDLE_DIVIDE_OVERFLOW): Define.

From-SVN: r84683
gcc/ChangeLog
gcc/config/s390/s390.md
libjava/ChangeLog
libjava/configure.host
libjava/include/s390-signal.h