This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/32956] Compiling equiv_7_db.f90 gives an error 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: 2 Aug 2007 20:32:43 -0000
- Subject: [Bug testsuite/32956] Compiling equiv_7_db.f90 gives an error with -fdefault-integer-8
- References: <bug-32956-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from sgk at troutmask dot apl dot washington dot edu 2007-08-02 20:32 -------
Subject: Re: Compiling equiv_7_db.f90 gives an error with -fdefault-integer-8
On Thu, Aug 02, 2007 at 08:26:44PM -0000, tkoenig at gcc dot gnu dot org wrote:
>
> If we use -fdefault-integer-8 on code which includes common
> or equivalences, we should also include -fdefault-real-8.
>
It doesn't help in this case. The equivalence statement is
a double precision variable and a 2 element integer array.
It's the old trick of using the array to access the hi and
lo word of the double precision.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32956