This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32942] Wrong code with with -fdefault-integer-8
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jul 2007 18:56:33 -0000
- Subject: [Bug fortran/32942] Wrong code with with -fdefault-integer-8
- References: <bug-32942-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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
> is correct.
Would not it be simpler to promote ("cast"?) to gfc_default_integer_kind
the results of the intrinsic functions such as exponent?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32942