[Ad-dev] [ADIC] #54: clean up XAIFTraverse to cover expressions and handle in particular assigments separately

ADIC trac at mcs.anl.gov
Tue Jul 12 16:48:17 CDT 2011


#54: clean up XAIFTraverse to cover expressions and handle in particular
assigments separately
-----------------------------+----------------------------------------------
 Reporter:  utke             |       Owner:  narayanan
     Type:  task             |      Status:  new      
 Priority:  major            |   Milestone:           
Component:  OA/Sage to XAIF  |     Version:           
 Keywords:                   |  
-----------------------------+----------------------------------------------

Comment(by norris):

 Just to be clear, the canonicalization of comma expressions will produce a
 sequence of assignment statements in the correct scope so that the value
 of the right-most expression is assigned to the lhs (if any), e.g.:

 x = a,b,c;

 becomes
 a; b; x = c;

-- 
Ticket URL: <http://trac.mcs.anl.gov/projects/ADIC/ticket/54#comment:2>
ADIC <http://trac.mcs.anl.gov/projects/ADIC>
ADIC: Automatic Differentiation for C and C++


More information about the Ad-dev mailing list