Search code examples
Why does integer overflow on x86 with GCC cause an infinite loop?...


c++cgccx86undefined-behavior

Read More
Is it safe to do something after "delete this" if the "somethings" does not requ...


c++memory-managementundefined-behaviorretain-cycle

Read More
expression: deque iterator not incrementable (special case - i can't figure it out)...


c++stlassertundefined-behavior

Read More
C standard compliant way to access null pointer address?...


clanguage-lawyerundefined-behaviornull-pointer

Read More
Is undefined behavior in given code?...


c++cc++11undefined-behaviorunspecified-behavior

Read More
Strange behavior when assigning values to a matrix (C/C++)...


c++cundefined-behavior

Read More
Accessing an array as a struct vs undefined behavior...


c++pointerscastingundefined-behavior

Read More
struct with same name but different member in C++...


c++c++11undefined-behaviorone-definition-rule

Read More
Is using any indeterminate value undefined or just those stored in objects with automatic storage?...


cc99undefined-behaviorc11

Read More
Is reading an indeterminate value undefined behavior?...


c++initializationundefined-behavior

Read More
Static char array initialization with simple function says length is 6, but shouldn't it be 1?...


carraysinitializationundefined-behaviorstrlen

Read More
Why Simply de-referencing a pointer with NULL assigned is not crashing...


c++undefined-behavior

Read More
Is it undefined behaviour to call a function with pointers to different elements of a union as argum...


clanguage-lawyerundefined-behaviorunionstype-punning

Read More
Can an object erase itself from a standard C++ container?...


c++containersundefined-behavior

Read More
Is this compiler optimization inconsistency entirely explained by undefined behaviour?...


c++compiler-optimizationundefined-behaviorcompiler-optionsobservable-behavior

Read More
Negative time conversion gives random values...


ctimeinitializationundefined-behaviorinteger-overflow

Read More
Will this strict-aliasing rule violation have the behavior I expect?...


cundefined-behaviorstrict-aliasing

Read More
UBSAN reports: -875 << 7 as undefined behaviour...


cbit-manipulationundefined-behaviorubsan

Read More
Convert a uint32_t to an int32_t without either a risk of overflow or excessive complexity...


c++undefined-behavior

Read More
Why is undefined behaviour allowed in C...


cundefined-behavior

Read More
Inconsistent undefined behavior...


cundefined-behavior

Read More
Different versions of gcc differently compile the same code...


c++gccundefined-behavior

Read More
Does while(i--) s+= a[i]; contain undefined behavior in C and C++?...


c++cundefined-behavior

Read More
C Unexpected inputs with character arrays...


carrayscharundefined-behavior

Read More
Where in the C99 standard does it say that signed integer overflow is undefined behavior?...


cc99undefined-behavior

Read More
Casting to void* and typedefs in C++...


c++ccastingundefined-behaviorvoid-pointers

Read More
Is detecting unsigned wraparound via cast to signed undefined behavior?...


ccastingundefined-behavior

Read More
Weird behavior with C's file IO...


cfile-ioundefined-behavior

Read More
Why the following two programs yield different outputs? (C++, bit operation, VS 2012)...


c++visual-studio-2012language-lawyerbitundefined-behavior

Read More
Obtain the vtable of a class without an object...


c++c++11g++undefined-behaviorvptr

Read More
BackNext