This is an archive of the discontinued LLVM Phabricator instance.

[Flang] funderscoring intermittent failure fix
ClosedPublic

Authored by madanial on Aug 17 2023, 8:08 AM.

Details

Summary

There is an intermittent failure in the tests for the funderscoring driver option reported in (https://lab.llvm.org/buildbot/#/builders/21/builds/78228) that is caused by an uninitialized member variable.

Diff Detail

Event Timeline

madanial created this revision.Aug 17 2023, 8:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2023, 8:08 AM
madanial requested review of this revision.Aug 17 2023, 8:08 AM

I looked at that myself but for some reason thought it would default construct to false, but of course that doesn't apply to bool. Good catch!

I have no context on the option itself so I'll let the others confirm that false is the right value here.

kkwli0 accepted this revision.Aug 18 2023, 6:39 AM

Yes, usePassOpt should be initialized to false.

LGTM

This revision is now accepted and ready to land.Aug 18 2023, 6:39 AM
This revision was automatically updated to reflect the committed changes.