Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

How to deal with clang's (3.9) -Wexpansion-to-defined warning?

Where exactly does C++ standard say dereferencing an uninitialized pointer is undefined behavior?

Why is this statement not working in java x ^= y ^= x ^= y;

Buffer overrun with bit-fields and value initialization - compiler bug or undefined behavior?

sizeof(""+0) != sizeof(char *) Bug or undefined behaviour?

c sizeof undefined-behavior

Undefined behaviour or gcc optimization bug

Can a primitive-type data member of a derived class be used as a parameter to its base constructor?

What treatment can a pointer undergo and still be valid?

Ramifications of C++20 requiring two's complement

How to implement fast inverse sqrt without undefined behavior? [duplicate]

Is it Undefined Behaviour to cast away the constness of a function parameter?

Function call with pointer to non-const and pointer to const arguments of same address

Virtual destructor and undefined behavior

Android debugger hides local variable

Decrementing a pointer out of bounds; incrementing it into bounds [duplicate]

reinterpret_cast bug or UB? [duplicate]

Is Type name = name; ever useful in C++?

Are memory leaks "undefined behavior" class problem in C++?

Is it undefined behaviour to call a function with pointers to different elements of a union as arguments?

Array pointer aliasing - undefined behavior?