[all-commits] [llvm/llvm-project] 2c2567: [flang] Fixed a crash with undeclared variable in ...

Eugene Epshteyn via All-commits all-commits at lists.llvm.org
Fri Jul 18 09:58:31 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c2567da95c64ee1ed9104ee2539894242922b83
      https://github.com/llvm/llvm-project/commit/2c2567da95c64ee1ed9104ee2539894242922b83
  Author: Eugene Epshteyn <eepshteyn at nvidia.com>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    M flang/lib/Semantics/check-do-forall.cpp
    M flang/test/Semantics/resolve40.f90

  Log Message:
  -----------
  [flang] Fixed a crash with undeclared variable in implicit-do loop (#149513)

Fixed a crash in the following example:
```
subroutine sub()
  implicit none
  print *, (i, i = 1, 2)  ! Problem: using undefined var in implied-do loop
end subroutine sub
```
The error message was already generated, but the compiler crashed before
it could display it.



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