From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,47fe96fd9165f6f4,start X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2001-05-29 03:20:58 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!opentransit.net!jussieu.fr!cnam.fr!bertrand From: bertrand@perceval.cnam.fr (BERTRAND =?iso-8859-1?Q?Jo=EBl?=) Newsgroups: comp.os.linux.alpha Subject: Floating point exception Date: 29 May 2001 10:11:15 GMT Organization: Conservatoire National des Arts et Metiers Message-ID: Reply-To: bertrand@cnam.fr NNTP-Posting-Host: perceval.cnam.fr X-Trace: kelvin.cnam.fr 991131075 16998 163.173.213.84 (29 May 2001 10:11:15 GMT) X-Complaints-To: usenet@news.cnam.fr NNTP-Posting-Date: 29 May 2001 10:11:15 GMT User-Agent: slrn/0.9.6.2 (Linux) Xref: archiver1.google.com comp.os.linux.alpha:2957 Good morning, I have some troubles with a program and gcc (egcs 2.95.2 19991024). I try to compile a program written in C-ansi and Fortran77. I use some complex arithmetic iwritten in Fortran (such as exp, cos, sin...). The program works fine on Intel processor, but on my ev6, I can make some operations such complex addition, multiplication, but when I call the exp, cos, sin, tan, my program crashes with a floating point exception. I don't understand... My makefile is very long, so I can not post it. The options of compilation are : g77 -c -O2 -g -mcpu=ev6 -mieee -fforce-addr -fstrength-reduce -fcaller-saves -fexpensive-optimizations -fmove-all-movables -freduce-all-givs -Wall -fno-f2c I use a RedHat 6.2 with a kernel 2.2.18. Regards, JKB