[Bug fortran/32942] Wrong code with with -fdefault-integer-8

2007-07-31 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #14 from sgk at troutmask dot apl dot washington dot edu 2007-07-31 22:29 --- Subject: Re: Wrong code with with -fdefault-integer-8 On Tue, Jul 31, 2007 at 10:04:55PM -, dominiq at lps dot ens dot fr wrote: > > > It is an opteron, so little endian. > > So rrspacing i

[Bug fortran/32942] Wrong code with with -fdefault-integer-8

2007-07-31 Thread dominiq at lps dot ens dot fr
--- Comment #13 from dominiq at lps dot ens dot fr 2007-07-31 22:04 --- Subject: Re: Wrong code with with -fdefault-integer-8 > It is an opteron, so little endian. So rrspacing is another instance of PR32770 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32942

[Bug fortran/32942] Wrong code with with -fdefault-integer-8

2007-07-31 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #12 from sgk at troutmask dot apl dot washington dot edu 2007-07-31 21:48 --- Subject: Re: Wrong code with with -fdefault-integer-8 On Tue, Jul 31, 2007 at 09:39:28PM -, dominiq at lps dot ens dot fr wrote: > > > The rrspacing problem is something besides -fdefault-in

[Bug fortran/32942] Wrong code with with -fdefault-integer-8

2007-07-31 Thread dominiq at lps dot ens dot fr
--- Comment #11 from dominiq at lps dot ens dot fr 2007-07-31 21:39 --- Subject: Re: Wrong code with with -fdefault-integer-8 > The rrspacing problem is something besides -fdefault-integer-8 > because I get the expected results on my system. Is your system big or little endian? If it

[Bug fortran/32942] Wrong code with with -fdefault-integer-8

2007-07-31 Thread kargl at gcc dot gnu dot org
--- Comment #10 from kargl at gcc dot gnu dot org 2007-07-31 20:51 --- Fixed on trunk. No back port to 4.2 branch. -- kargl at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/32942] Wrong code with with -fdefault-integer-8

2007-07-31 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #9 from sgk at troutmask dot apl dot washington dot edu 2007-07-31 20:50 --- Subject: Re: Wrong code with with -fdefault-integer-8 On Tue, Jul 31, 2007 at 08:32:56PM -, dominiq at lps dot ens dot fr wrote: > > > --- Comment #7 from dominiq at lps dot ens dot fr

[Bug fortran/32942] Wrong code with with -fdefault-integer-8

2007-07-31 Thread kargl at gcc dot gnu dot org
--- Comment #8 from kargl at gcc dot gnu dot org 2007-07-31 20:48 --- Subject: Bug 32942 Author: kargl Date: Tue Jul 31 20:48:21 2007 New Revision: 127105 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127105 Log: 2007-07-31 Steven G. Kargl <[EMAIL PROTECTED]> PR fort

[Bug fortran/32942] Wrong code with with -fdefault-integer-8

2007-07-31 Thread dominiq at lps dot ens dot fr
--- Comment #7 from dominiq at lps dot ens dot fr 2007-07-31 20:32 --- Subject: Re: Wrong code with with -fdefault-integer-8 This part of the problem for intrinsic_rrspacing.f90 now works, but there is another one with rrspacing(x): program test_rrspacing real x x = 3.0 x = rrsp

[Bug fortran/32942] Wrong code with with -fdefault-integer-8

2007-07-31 Thread dominiq at lps dot ens dot fr
--- Comment #6 from dominiq at lps dot ens dot fr 2007-07-31 20:21 --- Subject: Re: Wrong code with with -fdefault-integer-8 > That appears to work. Confirmed, we have now: _gfortran_st_write (&dt_parm.1); { int8 D.961; D.961 = (int8) _gfortran_exponent_r4 (x);

[Bug fortran/32942] Wrong code with with -fdefault-integer-8

2007-07-31 Thread kargl at gcc dot gnu dot org
--- Comment #5 from kargl at gcc dot gnu dot org 2007-07-31 19:39 --- I have a patch. -- kargl at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unas

[Bug fortran/32942] Wrong code with with -fdefault-integer-8

2007-07-31 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #4 from sgk at troutmask dot apl dot washington dot edu 2007-07-31 19:37 --- Subject: Re: Wrong code with with -fdefault-integer-8 On Tue, Jul 31, 2007 at 06:56:33PM -, dominiq at lps dot ens dot fr wrote: > > > So, we need to review every unilateral use of gfc_defaul

[Bug fortran/32942] Wrong code with with -fdefault-integer-8

2007-07-31 Thread dominiq at lps dot ens dot fr
--- Comment #3 from dominiq at lps dot ens dot fr 2007-07-31 18:56 --- Subject: Re: Wrong code with with -fdefault-integer-8 > So, we need to review every unilateral use of gfc_default_integer_kind > in the frontend to determine if the promotion of 4 to 8 via > -fdefault-integer-8 > i

[Bug fortran/32942] Wrong code with with -fdefault-integer-8

2007-07-31 Thread sgk at troutmask dot apl dot washington dot edu
--- Comment #2 from sgk at troutmask dot apl dot washington dot edu 2007-07-31 18:40 --- Subject: Re: Wrong code with with -fdefault-integer-8 On Tue, Jul 31, 2007 at 06:04:02PM -, kargl at gcc dot gnu dot org wrote: > > > I have reduced the failure for intrinsic_rrspacing.f90 to

[Bug fortran/32942] Wrong code with with -fdefault-integer-8

2007-07-31 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-07-31 18:04 --- (In reply to comment #0) > I have reduced the failure for intrinsic_rrspacing.f90 to: > > integer i > real x > x = 3.0 > print *, exponent (x) > i = exponent (x) > print *, i > end > > which gives with -fdefault-inte