Bug 41897

Summary: Support TR 29113: "Further Interoperability of Fortran with C"
Product: gcc Reporter: Tobias Burnus <burnus>
Component: fortranAssignee: Not yet assigned to anyone <unassigned>
Status: NEW ---    
Severity: enhancement CC: gcc-bugs
Priority: P3    
Version: 4.5.0   
Target Milestone: ---   
Host: Target:
Build: Known to work:
Known to fail: Last reconfirmed: 2010-06-11 13:47:11
Bug Depends on: 37577, 48820    
Bug Blocks:    

Description Tobias Burnus 2009-11-01 17:58:53 UTC
There is a technical report (TR 29113) in preparation to allow "Further Interoperability of Fortran with C".
Last draft is:
  ftp://ftp.nag.co.uk/sc22wg5/N1751-N1800/N1761.txt

One thing one presumably needs to change is the way ALLOCATBLE,INTENT(OUT) variables are auto-deallocated: Currently, it happens in the caller. I think for the TR one needs to make it happen in the callee.

Note: The draft N1761 is the result of the subgroup. Not all WG5/J3 members are happy with the proposal. At the February 2009 meeting it will be discussed with all members (cf. ftp://ftp.nag.co.uk/sc22wg5/N1751-N1800/N1794.txt).
Comment 2 Tobias Burnus 2010-06-11 13:58:29 UTC
Latest draft:  ftp://ftp.nag.co.uk/sc22wg5/N1801-N1850/N1808.pdf
Time line:     ftp://ftp.nag.co.uk/sc22wg5/N1801-N1850/N1812.txt (-> 2nd draft: 2010-10)