Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Arrays of unlimited polymorphic variables

$
0
0

I am trying to use arrays of unlimited polymorphic variables. These work if I use 1-d arrays but I get an access violation if I try 2-d arrays. Should this work?

C:\>ifort upv.f90
Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.0.103 Build 20130728
Copyright (C) 1985-2013 Intel Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 10.00.40219.01
Copyright (C) Microsoft Corporation.  All rights reserved.

-out:upv.exe
-subsystem:console
upv.obj

C:\>upv
 a is integer
forrtl: severe (157): Program Exception - access violation
Image              PC                Routine            Line        Source
upv.exe            000000013FA312B6  Unknown               Unknown  Unknown
upv.exe            000000013FA820E6  Unknown               Unknown  Unknown
upv.exe            000000013FA6C1BB  Unknown               Unknown  Unknown
kernel32.dll       000000007771652D  Unknown               Unknown  Unknown
ntdll.dll          000000007794C521  Unknown               Unknown  Unknown

I get the same result with version 12.1.0.233.

AttachmentSize
Downloadupv.f90486 bytes

Viewing all articles
Browse latest Browse all 5691

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>