soccer jersey forums.silverfrost.com :: View topic - Array Section Bug
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Array Section Bug

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
sigment



Joined: 17 Dec 2007
Posts: 10

PostPosted: Sat Sep 28, 2024 6:49 am    Post subject: Array Section Bug Reply with quote

This demo won't compile with the array assignment line and without it the SHAPE of the section is wrong.

Code:
program section
real(8) :: A(3,2) = 42D0, C(2,2) = 0D0
print *, SHAPE(A(1:2,1:2)) ! FTN95 gives 3 2 instead of 2 2
C = A(1:2,1:2) ! FTN95: *** Error 331: Non-conformant array shapes in first rank of an array expression (2 and 3)
print *, C
end program


Tried debug and release builds with FTN95 9.00.0 and then tried the 9.05.0 updates. (I am building with /ALT_KINDS.)
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8037
Location: Salford, UK

PostPosted: Sat Sep 28, 2024 10:17 am    Post subject: Reply with quote

sigment

Thank you for the bug report. I have logged this as needing fixing.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group