Subject: port-vax/18483: atan() SIGILL on 1.6, vax 4000/90
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/30/2002 22:54:08
>Number:         18483
>Category:       port-vax
>Synopsis:       atan() SIGILL on 1.6, vax 4000/90
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-vax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 30 22:55:01 PDT 2002
>Originator:     Jarkko Teppo
>Release:        1.6
NetBSD 1.6 NetBSD 1.6 (GENERIC) #0: Wed Sep 11 10:14:37 UTC 2002 vax
Using atan() seems to cause a SIGILL. Discovered when trying to run
bytebench from pkgsrc (whets.c)

#include <stdio.h>
#include <math.h>

void main()

double x=0.5;
double y=0.1;


192:~/Development/c/vax$ cc -o atan atan.c -lm
atan.c: In function `main':
atan.c:5: warning: return type of `main' is not `int'
192:~/Development/c/vax$ ./atan
Illegal instruction (core dumped)

The values to atan don't matter, it SIGILL's anyway.
No idea.