Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in undefined-behavior

Is `*--p` actually legal(well formed) in C++03

Why does Rust disallow mutable aliasing?

In C, if I cast & dereference a pointer, does it matter which one I do first?

How to spot undefined behavior

c++ c undefined-behavior

Assigning a reference by dereferencing a NULL pointer

Is using sizeof on a variable where a type of the same name exists well defined?

c sizeof undefined-behavior

Are there sequence points in the expression a^=b^=a^=b, or is it undefined?

GCC 4.8 with GNU STL produces bad code for std::string constructor?

c++ gcc stl 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