This is an archive of the discontinued LLVM Phabricator instance.

[flang] Control flow with empty select case blocks
ClosedPublic

Authored by vdonaldson on Sep 7 2022, 9:36 PM.

Details

Summary

Fix control flow for empty select case blocks such as:

select case (2)
  case (1)
    print*, '1'
  case (2)
  ! print*, '2'
  case default
    print*, 'default'
end select

Diff Detail

Event Timeline

vdonaldson created this revision.Sep 7 2022, 9:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 7 2022, 9:36 PM
vdonaldson requested review of this revision.Sep 7 2022, 9:36 PM
vdonaldson added reviewers: jeanPerier, clementval.
jeanPerier accepted this revision.Sep 8 2022, 12:41 AM

Looks good

This revision is now accepted and ready to land.Sep 8 2022, 12:41 AM