[all-commits] [llvm/llvm-project] 8830f1: [flang]Verify C7107, C7108, C7109 from - Clause 7 ...

sameeranjoshi via All-commits all-commits at lists.llvm.org
Fri Jul 31 11:15:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8830f1170dae898d7a0d6a95897e1c23e316ec1e
      https://github.com/llvm/llvm-project/commit/8830f1170dae898d7a0d6a95897e1c23e316ec1e
  Author: sameeran joshi <sameeranjayant.joshi at amd.com>
  Date:   2020-07-31 (Fri, 31 Jul 2020)

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/lib/Semantics/expression.cpp
    A flang/test/Semantics/boz-literal-constants.f90

  Log Message:
  -----------
  [flang]Verify C7107, C7108, C7109 from - Clause 7 constraint checks for f18.

   1.  Annotate the sources with constraint numbers.
   2.  Add tests for

    *C7107 (R765) digit shall have one of the values 0 or 1.
    *C7108 (R766) digit shall have one of the values 0 through 7.
    *C7109 (R764) A boz-literal-constant shall appear only as a data-stmt-constant in a DATA statement, or where explicitly allowed in 16.9 as an actual argument of an intrinsic procedure.

Reviewed By: PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D84504




More information about the All-commits mailing list