[all-commits] [llvm/llvm-project] ecec13: [flang] Remove double pointer indirection for _QQE...

David Truby via All-commits all-commits at lists.llvm.org
Tue Apr 30 14:38:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecec1311fe0521404a11d6f3b90253259c8c3518
      https://github.com/llvm/llvm-project/commit/ecec1311fe0521404a11d6f3b90253259c8c3518
  Author: David Truby <david.truby at arm.com>
  Date:   2024-04-30 (Tue, 30 Apr 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/Runtime/EnvironmentDefaults.h
    M flang/include/flang/Optimizer/Builder/Runtime/Main.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Optimizer/Builder/Runtime/EnvironmentDefaults.cpp
    M flang/lib/Optimizer/Builder/Runtime/Main.cpp
    M flang/test/Driver/emit-mlir.f90
    M flang/test/Lower/convert.f90
    M flang/test/Lower/environment-defaults.f90

  Log Message:
  -----------
  [flang] Remove double pointer indirection for _QQEnvironmentDefaults (#90615)

A double pointer was being passed to the call to FortranStart rather than just a pointer to the EnvironmentDefaults.list. This now passes `null` directly when there's no EnvironmentDefaults.list and passes the list directly when there is, removing the original global variable which was a pointer to a pointer containing null or the EnvironmentDefaults.list global.

Fixes #90537



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