[all-commits] [llvm/llvm-project] 3ed290: [flang] Fix crash with alternate returns in modules

Pete Steinfeld via All-commits all-commits at lists.llvm.org
Thu Jun 18 08:56:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ed2909feb34e5b68c6272def7d445a7ca4c5c6f
      https://github.com/llvm/llvm-project/commit/3ed2909feb34e5b68c6272def7d445a7ca4c5c6f
  Author: Pete Steinfeld <psteinfeld at nvidia.com>
  Date:   2020-06-18 (Thu, 18 Jun 2020)

  Changed paths:
    M flang/lib/Semantics/mod-file.cpp
    M flang/test/Semantics/modfile04.f90

  Log Message:
  -----------
  [flang] Fix crash with alternate returns in modules

Summary:
We weren't handling the case of subroutines with alternate returns that
are contained in modules.  I changed the code to add an `*` as the name
of the parameter when creating the `.mod` file.

Reviewers: tskeith, klausler, DavidTruby

Subscribers: llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list