llvm-project/flang/lib
peter klausler 646f19bb9d [flang] Format label scope is independent of block scope
Compilation of the following program currently generates a warning message:

        i = 1
        if (i .eq. 0) then
          write(6, 200) i
200       format (I8)
        end if
        write(6, 200) i
      end

x.f90:6:9: Label '200' is not in scope
          write(6, 200) i
          ^^^^^^^^^^^^^^^

Whereas branch targets must conform to the Clause 11.1.2.1 program
requirement "Transfer of control to the interior of a block from
outside the block is prohibited, ...", this doesn't apply to format
statement references.
2020-08-31 13:34:28 -07:00
..
Common [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
Decimal Remove unneeded RoundDefault enumerator, and fix spelling in comments 2020-08-03 16:14:24 -07:00
Evaluate [flang] Improve error messages for procedures in expressions 2020-08-18 10:47:55 -07:00
Lower [flang] Remove extra CMAKE_CXX_FLAGS in Lower and Optimizer 2020-08-07 10:21:54 -07:00
Optimizer [mlir] Remove the use of "kinds" from Attributes and Types 2020-08-18 16:20:14 -07:00
Parser [flang][openacc] Fix gang-argument parsing and add validity tests for !$acc loop 2020-08-27 22:33:05 -04:00
Semantics [flang] Format label scope is independent of block scope 2020-08-31 13:34:28 -07:00
CMakeLists.txt [flang] A rework of the cmake build components for in and out of tree builds. 2020-03-26 18:17:04 +00:00