https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77567
--- Comment #6 from Kostya Serebryany <kcc at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #5) > Created attachment 39612 [details] > pr77567-2.patch > > Slightly larger patch, which attempts to diagnose that, but fails to do so, > because asan_allocator.cc only has: > u32 alloc_type : 2; > and we now need 3 bits instead of just 2. > Dmitry, is there any possibility to free one bit for this in ChunkHeader? There are no bits left. But do we need these new states here? Can't we reuse the from_memalign field? Also, please remember that we can not accept patches from this buganizer -- they need to go via http://llvm.org/docs/Phabricator.html