Bug 278103

Summary: VPG does not link constant in module to declaration (Stas)
Product: [Tools] PTP Reporter: Jeffrey Overbey <com-eclipse-dot-org>
Component: Photran.For Internal UseAssignee: Jeffrey Overbey <com-eclipse-dot-org>
Status: RESOLVED FIXED QA Contact:
Severity: blocker    
Priority: P1 CC: snegara2
Version: 4.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
program.f90
none
Subroutines1.f90
none
Mod1.f90 none

Description Jeffrey Overbey CLA 2009-05-27 14:43:15 EDT
Created attachment 137382 [details]
program.f90

From e-mail ("Some Photran issues" 4/29/09):

It seems I found a situation, when VPG does not link a definition and a reference to it. If you take a look at the attached files and the constructed VPG database, you'll notice that in file "Subroutines1.f90" in expression "MyArray2(DIM - 3) = 0.1" the reference to "DIM", which is declared as a constant in module "Mod1", is not linked to its definition.
Comment 1 Jeffrey Overbey CLA 2009-05-27 14:43:38 EDT
Created attachment 137383 [details]
Subroutines1.f90
Comment 2 Jeffrey Overbey CLA 2009-05-27 14:44:02 EDT
Created attachment 137384 [details]
Mod1.f90
Comment 3 Jeffrey Overbey CLA 2009-05-28 08:42:50 EDT
This is fixed in HEAD now.