If BIND(C) appears on an internal procedure, it must have a null binding
label, i.e. BIND(C,NAME="").
Also address conflicts with D127725 which was merged during development.
| Paths 
 |  Differential  D128676  
[flang] Enforce C1552, no binding labels allowed for internal procedures ClosedPublic Authored by klausler on Jun 27 2022, 12:26 PM. 
Details Summary If BIND(C) appears on an internal procedure, it must have a null binding Also address conflicts with D127725 which was merged during development. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jun 27 2022, 2:30 PM Closed by commit rGcfd474e0d036: [flang] Enforce C1552, no binding labels allowed for internal procedures (authored by klausler).  ·  Explain WhyJun 28 2022, 11:00 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 440697 flang/lib/Semantics/check-declarations.cpp
 flang/lib/Semantics/resolve-names.cpp
 
 flang/lib/Semantics/tools.cpp
 flang/test/Semantics/bind-c01.f90
 flang/test/Semantics/bind-c04.f90
 flang/test/Semantics/bind-c05.f90
 
 flang/test/Semantics/declarations03.f90
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||