This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32968] selected_(int|real)_kind fail with -fdefault-integer-8
- From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Aug 2007 00:04:47 -0000
- Subject: [Bug fortran/32968] selected_(int|real)_kind fail with -fdefault-integer-8
- References: <bug-32968-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from sgk at troutmask dot apl dot washington dot edu 2007-08-03 00:04 -------
Subject: Re: selected_(int|real)_kind fail with -fdefault-integer-8
On Thu, Aug 02, 2007 at 11:02:55PM -0000, dominiq at lps dot ens dot fr wrote:
>
> I think you need the same kind of machinery as for
> PR32954, i.e., change to 4 only if it is different from 4.
> BTW, did you consider the second optional argument for
> selected_real_kind(i)?
>
I think that we may be converging on a patch. Can you test
the attached diff?
------- Comment #11 from sgk at troutmask dot apl dot washington dot edu 2007-08-03 00:04 -------
Created an attachment (id=14013)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14013&action=view)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32968