D142279 enabled assertion in libstdc++ and one was triggered
in the PFTBuilder because an optional was access even if it was
null.
This patch fix this issue and add a regression test.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM. I think you can merge now to fix the build bot, but I would still welcome @vdonaldson feedback to asses if it is expected that targetEval.label be null in that case.
Comment Actions
This is a good permanent fix for the problem.
(The bug was introduced when the initial implementation that looked for GotoStatement's was extended to also look for CycleStmt's.)
Thanks @clementval for the fix.