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 

Plato CheckMate .Net

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



Joined: 16 Nov 2009
Posts: 144

PostPosted: Fri Apr 10, 2015 3:55 pm    Post subject: Plato CheckMate .Net Reply with quote

Dear colleagues,

Plato reports an error in the following program:

Code:

  Winapp

  Program Test03

      Implicit None
      Integer :: I, j
      Real    :: a, b

      a = 0.
      b = 0.
      do i = 1, 10
        do j = 1,10

          a = a + real (i*j)

        end do
      end do
      write (*,*) 'a = ', a

      Call abc (b)
      write (*,*) 'b = ', b

  Contains

      Subroutine abc (b)

      real , intent (inout) :: b

      do i = 1, 10
        do j = 1,10
         
          b = b + real (i*j)
           
        end do
      end do
      write (*,*) 'b = ', b
      end subroutine abc

  End Program Test03


The error message is

Error 431: Active DO-loop index altered.

I do not understand this error message, which does not emerge when compiling with all other Plato compiler options.

Is there any explanation?

Klaus
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Fri Apr 10, 2015 5:38 pm    Post subject: Reply with quote

This looks like a bug in the compiler. In other words there is no apparent fault in your code.

I will log this for investigation.
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 -> Plato 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