This is nonconformant usage, but widely accepted as an extension.
Downgrade the error message to a warning.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D117152  
[flang] Allow initialization in blank COMMON ClosedPublic Authored by klausler on Jan 12 2022, 2:06 PM. 
Details Summary This is nonconformant usage, but widely accepted as an extension. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Jan 13 2022, 7:01 AM Closed by commit rG63a2987d5111: [flang] Allow initialization in blank COMMON (authored by klausler).  ·  Explain WhyJan 13 2022, 3:07 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 399804 flang/docs/Extensions.md
 flang/lib/Semantics/check-data.cpp
 flang/test/Semantics/data04.f90
 flang/test/Semantics/data14.f90
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||