------- 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-integer-8
> 
>            8589934720
>                                 2
> 

(snip)

> 
> Any explanation?
> 

trans-types.c(gfc_get_int_type) is used to build the
gfc_int4_type_node in trans-io.h.  -fdefault-integer-8
is probably causing gfc_int4_type_node to be set to 8
instead of 4.


-- 

kargl at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu dot org


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

Reply via email to