PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

syntax error causes compiler to hang indefinitely

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
David Gunter



Joined: 15 Sep 2005
Posts: 25

PostPosted: Tue May 30, 2006 12:38 pm    Post subject: syntax error causes compiler to hang indefinitely Reply with quote

The following code contains a misspelling of the word "module" which causes the pgf90/95 compiler to hang. We are running PGI 6.1-3 on a Fedora Core 3 system, glibc version 2.3.5.

Code:
! modle.f90
! Hangs PGI compiler because of mispelling of "module"

modle fooModule

contains

integer function setval()
implicit none
real :: r
     
setval = 5.0
     
end function

end module
     
program foobar
use fooModule
implicit none

real :: rval

rval = setval()
write(*,*) 'rval = ', rval

stop
end program
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6134
Location: The Portland Group Inc.

PostPosted: Wed May 31, 2006 3:08 pm    Post subject: Reply with quote

Hi David,

The problem has been added as TPR#3848 and has been assigned to an compiler engineer for review.

Thank you for the report,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
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 © phpBB Group