[Ad-dev] [openAD] #224: open64 does not distinguish 1st and 2nd nesting level of SRs

OpenAD trac at mcs.anl.gov
Fri Sep 24 23:59:10 CDT 2010


#224: open64 does not distinguish 1st and 2nd nesting level of SRs
------------------------------+---------------------------------------------
 Reporter:  utke              |       Owner:  utke    
     Type:  defect            |      Status:  accepted
 Priority:  major             |   Milestone:          
Component:  Open64 front end  |    Keywords:          
------------------------------+---------------------------------------------

Comment(by utke):

 The following test case illustrate the symptoms further:
 OpenADFortTk/Regression/TestSources/sideEffectNested2.f90
 (the deepest level routine is elevated but that makes the used variable
 out-of scope -> compiler error)

 xand
 OpenADFortTk/Regression/TestSources/sideEffectNested4.f90
 The example compiles and produces the correct output but the XAIF
 representation is incorrect in the side effiect lists of foo2

      <xaif:SideEffectReference vertex_id="1">
         <xaif:SymbolReference vertex_id="1" scope_id="5"
 symbol_id="L_X_1"/>
       </xaif:SideEffectReference>

 Where the scope_id=5 is clearly wrong

-- 
Ticket URL: <http://trac.mcs.anl.gov/projects/openAD/ticket/224#comment:4>
OpenAD <http://www.mcs.anl.gov/openad>
Bug tracking for OpenAD components


More information about the Ad-dev mailing list