[all-commits] [llvm/llvm-project] 553047: [Flang][OpenMP] fix crash on sematic error in ato...

Yang Zaizhou via All-commits all-commits at lists.llvm.org
Fri May 23 05:15:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5530474e3e84edd02c85043c60e4df967fee7f26
      https://github.com/llvm/llvm-project/commit/5530474e3e84edd02c85043c60e4df967fee7f26
  Author: Yang Zaizhou <91008302+Mxfg-incense at users.noreply.github.com>
  Date:   2025-05-23 (Fri, 23 May 2025)

  Changed paths:
    M flang/include/flang/Semantics/tools.h
    M flang/lib/Lower/OpenACC.cpp
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Semantics/check-omp-structure.cpp
    A flang/test/Semantics/OpenMP/atomic-capture-invalid.f90

  Log Message:
  -----------
  [Flang][OpenMP] fix crash on sematic error  in atomic capture clause (#140710)

Fix a crash caused by an invalid expression in the atomic capture
clause, due to the `checkForSymbolMatch` function not accounting for
`GetExpr` potentially returning null.

Fix https://github.com/llvm/llvm-project/issues/139884



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