This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add test for quiet with local variable in STOP stmt
ClosedPublic

Authored by clementval on Feb 4 2022, 2:58 AM.

Details

Summary

Add a test for the quiet argument in STOP statement that use a local variable instead of a constant.

This allows to test D118978.

This patch is part of the upstreaming effort from fir-dev branch.

Diff Detail

Event Timeline

clementval created this revision.Feb 4 2022, 2:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2022, 2:58 AM
clementval requested review of this revision.Feb 4 2022, 2:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2022, 2:58 AM
flang/test/Lower/stop-statement.f90
48

Can you check for the alloca also?

clementval updated this revision to Diff 405933.Feb 4 2022, 5:33 AM

Update test to check alloca as well

jeanPerier accepted this revision.Feb 4 2022, 6:05 AM
This revision is now accepted and ready to land.Feb 4 2022, 6:05 AM
kiranchandramohan accepted this revision.Feb 4 2022, 6:13 AM