[Bug fortran/37999] Fortran shape and kind intrinsic
carbess at swcp dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 3 16:33:00 GMT 2008
------- Comment #2 from carbess at swcp dot com 2008-11-03 16:32 -------
Subject: Re: Fortran shape and kind intrinsic
Thanks for the response. I will download the latest compiler, which I
thought I had. I guess the autoupdate for my Mint Linux is not working
promptly or this has been updated in the last two weeks. With the new
version, I will check the second problem I reported as well and report back
(kind intrinsic with character argument in a type declararation statement).
Thanks again and appreciate you help -- you have saved me of creating a
workaround for the GNU compilers for my large application code for the shape
intrinsic -- the code I gave is the simplest extraction I could think of
but your recommendation for this test is clearly better.
----- Original Message -----
From: "kargl at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: <carbess@swcp.com>
Sent: Sunday, November 02, 2008 5:00 PM
Subject: [Bug fortran/37999] Fortran shape and kind intrinsic
>
>
> ------- Comment #1 from kargl at gcc dot gnu dot org 2008-11-03
> 00:00 -------
> Code works with 4.3.2 and trunk.
>
> Note you probably want to
>
> 1) Update to a 4.3.2 or newer compiler.
> 2) Change the example to
>
> program test_shape
> integer :: i
> print *, size(shape(i)) ! Shape of a scalar allowed by f95 standards.
> end program test_shape
>
> because shape(i) is a zero sized array.
>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37999
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37999
More information about the Gcc-bugs
mailing list