This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/14059] New: [gfortran] Underflow while compiling a constant expression
- From: "bdavis9659 at comcast dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Feb 2004 03:10:55 -0000
- Subject: [Bug fortran/14059] New: [gfortran] Underflow while compiling a constant expression
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ cat a.f
AVS = SQRT(9.125) ** 2 - 9.125
PRINT*,AVS
END
$ g77 a.f
$ ./a.out
0.
$ /usr/local/bin/gfortran -static a.f
In file a.f:1
AVS = SQRT(9.125) ** 2 - 9.125
1
Error: Arithmetic underflow at (1)
$ gfortran --version
GNU Fortran 95 (GCC 3.5-tree-ssa 20040206 (merged 20040126))
--
Summary: [gfortran] Underflow while compiling a constant
expression
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bdavis9659 at comcast dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14059