[Nix-dev] Patch: gmp-lib bug fix (gfortran ICE)

Nicolas Pierron nicolas.b.pierron at gmail.com
Tue Sep 9 16:07:13 CEST 2008


Hi list,

I am sending my patch here because it cause the re-build of gcc.
This patch fix the gmp library with the updates found on its homepage.
( http://gmplib.org )

Without this patch some trouble can be seen in gfortran with the
implicit value conversion (integer <--> real)
The following text is a fortran 90 program which cause an ICE in
gfortran only if this patch is not applied on the gmp library:

program conv
  implicit none
  real :: x
  integer :: i
  i = 42
  x = i
end program

Cheers,

-- 
Nicolas Pierron
- If you are doing something twice then you should try to do it once.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmp.patch
Type: application/octet-stream
Size: 3250 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20080909/718c7ca3/attachment.obj 


More information about the nix-dev mailing list