Page MenuHomePhabricator

[libc] Fix bug with __builtin_memcpy_inline
AbandonedPublic

Authored by gchatelet on Mar 20 2020, 2:40 AM.

Details

Reviewers
abrachet
Summary

The bug comes from constant folding of __builtin_memcpy_inline sizie argument from a template parameter.

Diff Detail

Event Timeline

gchatelet created this revision.Mar 20 2020, 2:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 20 2020, 2:40 AM
abrachet accepted this revision.Mar 20 2020, 8:26 AM
This revision is now accepted and ready to land.Mar 20 2020, 8:26 AM

I'm not submitting this for now since it will be fixed by D76504 eventually.

gchatelet abandoned this revision.Mar 21 2020, 4:51 AM

Dropping this since it should fix the original error with Clang 11