Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

How do we explain the result of the expression (++x)+(++x)+(++x)?

What replacements are available for formerly-widely-supported behaviors not defined by C standard

"Illegal hardware instruction" from very simple code

Is i += ++i undefined behavior in C++0x?

Is it well-defined to cast xvalues to lvalues for passing to functions?

Sequence points and side effects: Quiet change in C11?

Does sscanf require a null terminated string as input?

Dangling references and undefined behavior

Is modifying a variable in its declaration statement well-defined?

Validity of the code

c++ undefined-behavior

Placement-new address alignment

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?