Subject: port-alpha/6805: fpsetmask() broken on alpha
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/13/1999 19:48:24
>Number:         6805
>Category:       port-alpha
>Synopsis:       fpsetmask() dumps core on alpha
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-alpha-maintainer (NetBSD/alpha Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 13 17:05:01 1999
>Originator:     Dan McMahill

>Release:        NetBSD/alpha-1.3I	<NetBSD-current source date>


fpsetmask()  (from <ieeefp.h>) dumps core everytime on alpha's
The following program always dumps core on fpsetmask().

#include <stdio.h>
#include <ieeefp.h>

int main()

        printf("About to call fpsetmask(0x00)\n");
	printf("Returned from fpsetmask(0x00)\n");


% gcc -o tst tst.c
% ./tst
About to call fpsetmask(0x00)
Abort (core dumped)


I unfortunately don't know how to fix it and also have no workaround.