Bug 278103 - VPG does not link constant in module to declaration (Stas)
Summary: VPG does not link constant in module to declaration (Stas)
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.For Internal Use (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P1 blocker (vote)
Target Milestone: ---   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-27 14:43 EDT by Jeffrey Overbey CLA
Modified: 2009-05-28 08:42 EDT (History)
1 user (show)

See Also:


Attachments
program.f90 (215 bytes, text/plain)
2009-05-27 14:43 EDT, Jeffrey Overbey CLA
no flags Details
Subroutines1.f90 (163 bytes, text/plain)
2009-05-27 14:43 EDT, Jeffrey Overbey CLA
no flags Details
Mod1.f90 (161 bytes, text/plain)
2009-05-27 14:44 EDT, Jeffrey Overbey CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.