This is an archive of the discontinued LLVM Phabricator instance.

Use the unoptimized routines for volatile source types
ClosedPublic

Authored by hiraditya on Jun 9 2023, 11:18 AM.

Details

Summary

As reported in: D147741

Diff Detail

Event Timeline

hiraditya created this revision.Jun 9 2023, 11:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2023, 11:18 AM
hiraditya requested review of this revision.Jun 9 2023, 11:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2023, 11:18 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript

Please add the regression test from @hans to make sure we don't reintroduce the bug.

hiraditya updated this revision to Diff 530082.EditedJun 9 2023, 2:22 PM

Added testcase provided by @hans

philnik accepted this revision.Jun 9 2023, 3:33 PM

LGTM with comment addressed and green CI.

libcxx/test/std/containers/sequences/vector/vector.cons/copy.pass.cpp
103–114

This should also work.

This revision is now accepted and ready to land.Jun 9 2023, 3:33 PM

Updated test.

hiraditya marked an inline comment as done.Jun 10 2023, 10:50 PM