Search code examples
clang/gcc assume that a pointer into a member may alias another member of a different type?...


c++llvmstrict-aliasing

Read More
Breaking strict aliasing when reinterpret_cast-ing pointer to an object vs directly casting the refe...


c++20strict-aliasing

Read More
Memory Alignment warning with gcc...


cgccmemory-alignmentstrict-aliasingintrusive-containers

Read More
What are the prohibitions against certain kinds of aliasing through unions?...


clanguage-lawyerunionsstrict-aliasingtype-punning

Read More
Strict aliasing between Complex numbers and real numbers in C...


cstrict-aliasing

Read More
Do C and C++ differ on the legality of aligning pointers at runtime?...


c++clanguage-lawyerallocatorstrict-aliasing

Read More
Fix for dereferencing type-punned pointer will break strict-aliasing...


cstrict-aliasingtype-punning

Read More
Are there any strict aliasing rule violations that are not detected by -Wstrict-aliasing?...


caliasstrict-aliasingpointer-aliasing

Read More
Is type-punning pointer-interconvertible types exempt from strict aliasing in C++23?...


c++language-lawyerstrict-aliasingc++23

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


c++undefined-behaviorreinterpret-caststrict-aliasing

Read More
In C++, is it valid to treat scalar members of a struct as if they comprised an array?...


c++pointersstructundefined-behaviorstrict-aliasing

Read More
Strict aliasing, CUdeviceptr, and cuMemAllocManaged...


c++pointerscudastrict-aliasing

Read More
Is it well defined to cast to an identical layout with const members?...


c++constantslanguage-lawyerundefined-behaviorstrict-aliasing

Read More
GCC optimizing with -Os incorrectly assumes pointer to be NULL...


cgcccompiler-optimizationstrict-aliasing

Read More
reinterpret_cast between char* and std::uint8_t* - safe?...


c++c++11language-lawyerstrict-aliasinguint8t

Read More
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
BackNext