[all-commits] [llvm/llvm-project] 8867e8: [flang] Fix ICE for passing a label for non altern...
Daniil Dudkin via All-commits
all-commits at lists.llvm.org
Wed May 4 02:35:32 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8867e83d00322c97630a3019b7f6c580dbcb37b4
https://github.com/llvm/llvm-project/commit/8867e83d00322c97630a3019b7f6c580dbcb37b4
Author: Daniil Dudkin <d.dudkin at partner.samsung.com>
Date: 2022-05-04 (Wed, 04 May 2022)
Changed paths:
M flang/lib/Semantics/check-call.cpp
A flang/test/Semantics/call26.f90
Log Message:
-----------
[flang] Fix ICE for passing a label for non alternate return arguments
When we pass an alternate return specifier to a regular (not an asterisk)
dummy argument, flang would throw an internal compiler error of
derefencing a null pointer.
To avoid the ICE, a check was added.
Reviewed By: kiranchandramohan
Differential Revision: https://reviews.llvm.org/D123947
More information about the All-commits
mailing list