[all-commits] [llvm/llvm-project] a6e155: [flang] Add bind(C) to buitlin C_PTR

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon Aug 22 02:12:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6e155fd9a392285ab37e12777a8c140f913bbc5
      https://github.com/llvm/llvm-project/commit/a6e155fd9a392285ab37e12777a8c140f913bbc5
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-08-22 (Mon, 22 Aug 2022)

  Changed paths:
    M flang/module/__fortran_builtins.f90
    A flang/test/Semantics/bind-c07.f90

  Log Message:
  -----------
  [flang] Add bind(C) to buitlin C_PTR

D131585 Adds couple of semantics check for the components of BIND(C)
derived-type. This would raise an error when a component is of C_PTR
type. Add `bind(c)` to the `__builtin_c_ptr` type so the wrong error
is not triggered.

Reviewed By: peixin, jeanPerier

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




More information about the All-commits mailing list