This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran] Patch for PR 14055


> 2004-03-06      Bud Davis       <bdavis9659@comcast.net>
>
>         PR 14055
>
>         * arith.c (gfc_convert_integer,gfc_convert_real):  Removed leading
> '+' before conversion by gmp library call.

Applied, thanks.

Paul

Also:
2004-02-24  Paul Brook  <paul@codesourcery.com>

	PR 14055
	* gfortran.fortran-torture/execute/plusconst_1.f90: New test.

! PR14005
! The GMP conversion routines object to a leading "+"
program plusconst_1
  implicit none
  real p
  integer i
  data p /+3.1415/
  data i /+42/
  real :: q = +1.234
  integer :: j = +100

  if ((p .ne. 3.1415) .or. (i .ne. 42) .or. (q .ne. 1.234) .or. (j .ne. 100))&
    call abort
end program


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]