Search code examples
Strict aliasing of first struct member through opaque pointer in C...


clanguage-lawyerundefined-behaviorstrict-aliasing

Read More
Aliasing accesses through a std::bit_cast()ed pointer...


c++language-lawyerc++20strict-aliasing

Read More
In C++ can you use one empty type as storage for another?...


c++language-lawyerc++20strict-aliasing

Read More
How to workaround strict aliasing in C?...


cstrict-aliasing

Read More
Why does optimisation kill this function?...


c++coptimizationendiannessstrict-aliasing

Read More
What is the strict aliasing rule?...


c++cundefined-behaviorstrict-aliasingtype-punning

Read More
Do we have a Strict Aliasing rule violation?...


c++language-lawyerstrict-aliasing

Read More
Aliasing rules and making Rust function "generic over aliasing"...


rustlanguage-lawyerstrict-aliasing

Read More
Does casting a char * to another pointer type break the strict aliasing rule when the memory is from...


cstrict-aliasing

Read More
Implementation of std::start_lifetime_as()...


c++undefined-behaviorlifetimestrict-aliasingc++23

Read More
How do initial members, common initial sequences, anonymous unions, and strict aliasing interact in ...


cpointerslanguage-lawyerunionsstrict-aliasing

Read More
Placement new + reinterpret_cast in C++14: well-formed?...


c++language-lawyerundefined-behaviorreinterpret-caststrict-aliasing

Read More
What's a proper way of type-punning a float to an int and vice-versa?...


c++undefined-behaviorgcc-warningstrict-aliasingtype-punning

Read More
Standard compliant way of swapping bits of two objects in different types...


c++language-lawyerstrict-aliasing

Read More
Does a pointer to std::byte have the same aliasing relaxations as char*?...


c++c++17language-lawyerstrict-aliasingstd-byte

Read More
Is it undefined behavior to access the object representation of a pointer through a char*?...


clanguage-lawyerundefined-behaviorstrict-aliasing

Read More
Adversarial test against template generic STL vector pool...


c++vectormemory-managementstrict-aliasingtype-punning

Read More
Is casting strings from `wchar_t` to `char16_t` legal if encoding and width is the same?...


c++c++17language-lawyerundefined-behaviorstrict-aliasing

Read More
How can you repurpose an array of floats as an array of doubles without undefined behavior?...


c++undefined-behaviorstrict-aliasingtype-punning

Read More
Can you alias an array of T through a struct of T, similar to how std::complex<T>[N] can alias...


c++language-lawyerstrict-aliasingtype-punning

Read More
Why do compilers miss vectorization here?...


c++vectorizationcompiler-optimizationstrict-aliasingauto-vectorization

Read More
Is it possible to backport std::byte to C++14...


c++c++14language-lawyerstrict-aliasingstd-byte

Read More
reinterpret cast of a class template instantiation to another...


c++type-conversionstrict-aliasing

Read More
Is having a buffer of unsigned char and treating it as a pointer to T* a violation of strict aliasin...


cstrict-aliasing

Read More
gcc, strict-aliasing, and horror stories...


cgccstrict-aliasing

Read More
How does C++ strict aliasing work with arrays and dynamically allocated memory?...


c++memorystrict-aliasingtype-punning

Read More
Examples using reinterpret_cast that do not trigger UB...


c++undefined-behaviorreinterpret-caststrict-aliasing

Read More
Is strict aliasing still something to think about in C?...


cgccstrict-aliasing

Read More
Do FreeRTOS heap implementations violate C aliasing rules?...


cfreertosstrict-aliasing

Read More
std::atomic in a union with another character...


c++multithreadinglanguage-lawyerstrict-aliasingstdatomic

Read More
BackNext