Unverified Commit 437a48b2 authored by jeanPerier's avatar jeanPerier Committed by GitHub
Browse files

[flang] Handle absent optional in LOC (#73530)

LOC is a GNU extension, so gfortran is the reference for it, and it
accepts absent OPTIONAL and returns zero. Support this use case in flang
too.

Update the LOC test to use HLFIR while touching it.

Fixes https://github.com/llvm/llvm-project/issues/72823.
parent af65379e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment