top | item 42841406 (no title) wayoverthecloud | 1 year ago In C++ there is the align_alloc specificier. https://en.cppreference.com/w/c/memory/aligned_allocNot sure for C discuss order hn newest ryanpetrich|1 year ago aligned_alloc is a C function. It doesn't help the compiler prove that two pointers can't alias. restrict is the keyword that does. bobmcnamara|1 year ago The compiler is allowed to assume the results of malloc and certain other allocation functions do not alias.Restrict does too.
ryanpetrich|1 year ago aligned_alloc is a C function. It doesn't help the compiler prove that two pointers can't alias. restrict is the keyword that does. bobmcnamara|1 year ago The compiler is allowed to assume the results of malloc and certain other allocation functions do not alias.Restrict does too.
bobmcnamara|1 year ago The compiler is allowed to assume the results of malloc and certain other allocation functions do not alias.Restrict does too.
ryanpetrich|1 year ago
bobmcnamara|1 year ago
Restrict does too.