[all-commits] [llvm/llvm-project] ea88bb: [flang] Return 1 in ERROR STOP without user provid...

jeanPerier via All-commits all-commits at lists.llvm.org
Thu Apr 4 06:32:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea88bb16485a34db58333637d8558ff57e6a1329
      https://github.com/llvm/llvm-project/commit/ea88bb16485a34db58333637d8558ff57e6a1329
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-04-04 (Thu, 04 Apr 2024)

  Changed paths:
    M flang/lib/Lower/Runtime.cpp
    M flang/test/Lower/stop-statement.f90

  Log Message:
  -----------
  [flang] Return 1 in ERROR STOP without user provided stop-code (#87501)

See F'2023 section 11.4: "If the stop-code in an ERROR STOP statement is
of type character or does not appear, it is recommended that a
processor-dependent nonzero value be supplied as the process exit
status"

Fixes https://github.com/llvm/llvm-project/issues/66581.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list