[flang-commits] [flang] 1d4f9ac - [flang] Fix crash with coarray teams #171048 (#172259)

via flang-commits flang-commits at lists.llvm.org
Thu Jan 15 09:02:23 PST 2026


Author: Jean-Didier PAILLEUX
Date: 2026-01-15T18:02:07+01:00
New Revision: 1d4f9ac37c043198d823e85e3cd777dc970d8b75

URL: https://github.com/llvm/llvm-project/commit/1d4f9ac37c043198d823e85e3cd777dc970d8b75
DIFF: https://github.com/llvm/llvm-project/commit/1d4f9ac37c043198d823e85e3cd777dc970d8b75.diff

LOG: [flang] Fix crash with coarray teams #171048 (#172259)

This PR updates the `CHANGE TEAM` construct to fix the bug mentioned in
the issue #171048.
When a construct such as `IfConstruct` was present in the `CHANGE TEAM`
region, several BB were created but outside the region.

Added: 
    flang/test/Lower/MIF/change_team2.f90

Modified: 
    flang/include/flang/Lower/MultiImageFortran.h
    flang/include/flang/Optimizer/Dialect/MIF/MIFOps.td
    flang/lib/Lower/Bridge.cpp
    flang/lib/Lower/MultiImageFortran.cpp
    flang/lib/Optimizer/Builder/IntrinsicCall.cpp
    flang/lib/Optimizer/Dialect/MIF/MIFOps.cpp

Removed: 
    


################################################################################<html><body><h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body></html>


        


More information about the flang-commits mailing list