Segfault: is it a bug?

Tobias Burnus burnus@net-b.de
Wed Feb 14 17:43:00 GMT 2007


Hi Salvatore,

Salvatore Filippone wrote:
> The attached source code generates a rather spectacular segfault. The
> funny thing is that if I change the access function msh_ to a
> subroutine, it works. My understanding is that this is a bug; any kind
> soul can confirm my code is standard conforming, in which case I will go
> open a PR?
>   
I think it is standard conforming. Also other compilers digest it
without any problems.

Tobias

PS: A slightly reduced test case (hopefully showing the same problem) is
attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.f90
Type: text/x-fortran
Size: 1174 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070214/3c84338e/attachment.bin>


More information about the Fortran mailing list