Search code examples
Are void** and int** compatible types?...


cstrict-aliasing

Read More
Strict aliasing rule with incompatible but same structs...


cpointersstructstrict-aliasing

Read More
Strict aliasing rule when storing and accessing an array of (pointers to) elements...


cstrict-aliasing

Read More
Aliasing through unions...


cunionsstrict-aliasingtype-punning

Read More
Is the code below well formed, in particular regarding aliasing rules?...


c++undefined-behaviorunionsstrict-aliasing

Read More
Rationale for non-virtual derived class not being pointer-interconvertible with its first base...


c++inheritancelanguage-lawyerreinterpret-caststrict-aliasing

Read More
UDP checksum calculation not working with newer version of gcc...


cstrict-aliasing

Read More
will casting around sockaddr_storage and sockaddr_in break strict aliasing...


c++clinuxsocketsstrict-aliasing

Read More
Is it legal to write to a `const T*` through a `T**`?...


c++pointersconstantslanguage-lawyerstrict-aliasing

Read More
Is this undefined behavior in C++?...


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

Read More
Assigning a subsection of C-style array using a std::array& without violating "strict alias...


c++undefined-behaviorstrict-aliasingstdarray

Read More
Using restrict to express possible partial overlap...


coptimizationlanguage-lawyerstrict-aliasingrestrict-qualifier

Read More
Is it okay to type-pun allocated structs varying only in const-ness?...


cpointersc11strict-aliasing

Read More
Can I form a C++ reference from a pointer of the wrong type?...


c++strict-aliasing

Read More
Does reinterpret_cast<unsigned long long> of an int64_t value really break strict aliasing?...


c++reinterpret-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
Clang 14 and 15 apparently optimizing away code that compiles as expected under Clang 13, ICC, GCC, ...


c++clangcompiler-optimizationstrict-aliasingtype-punning

Read More
Does C++ standard guarantee such kinds of indirect access well defined?...


c++reinterpret-caststrict-aliasingtype-aliasstdany

Read More
How can unions be used to bypass strict aliasing violations?...


cundefined-behaviorunionsstrict-aliasing

Read More
Does taking a reference to an object via two different base classes violate strict aliasing rule?...


c++multiple-inheritancestrict-aliasing

Read More
Performance benefits of strict aliasing...


cperformancestrict-aliasing

Read More
Memory Alignment warning with gcc...


cgccmemory-alignmentstrict-aliasingintrusive-containers

Read More
Possible strict aliasing violation?...


c++c++20undefined-behaviorstrict-aliasing

Read More
GCC warning with typecasts of NEON array type (e.g. int32x4x2_t to int64x2x2_t)...


cneongcc-warningstrict-aliasing

Read More
Why is clang unwilling or unable to eliminate duplicate loads here...


coptimizationclangllvmstrict-aliasing

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


cstrict-aliasingtype-punning

Read More
Why are the results of the optimization on aliasing different for char* and std::string&?...


c++gcccompiler-optimizationstrict-aliasingrestrict-qualifier

Read More
Is it a violation of strict aliasing to cast to a "super-class" and back in C?...


cstructlanguage-lawyerstrict-aliasing

Read More
accessing long double bit representation...


cstrict-aliasinglong-double

Read More
Does casting to a char pointer to increment a pointer by a certain amount and then accessing as a di...


clanguage-lawyerstrict-aliasing

Read More
BackNext