------- Comment #9 from fxcoudert at gcc dot gnu dot org  2008-02-19 15:59 
-------
It seems things are now worse:

$ cat s.f90
real x
x = nearest(huge(1.0),1.0)
end
$ ./bin/gfortran s.f90
next.c:91:  assertion failed: !mpfr_set_exp ((x), (exp + 1))
f951: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

That's with MPFR 2.3.1 and GCC trunk rev. 132112 (a bit before 4.3 branching).


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|2007-09-04 12:34:17         |2008-02-19 15:59:33
               date|                            |
            Summary|nearest(huge(1.0),1.0) gives|[4.3/4.4 regression]
                   |an error                    |nearest(huge(1.0),1.0) gives
                   |                            |an error


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33296

Reply via email to