Newbetuts
.
New posts in undefined-behavior
Is right shift undefined behavior if the count is larger than the width of the type?
c++
gcc
assembly
standards
undefined-behavior
How did I get a value larger than 8 bits in size from an 8-bit integer?
c++
gcc
undefined-behavior
How to explain undefined behavior to know-it-all newbies?
c++
undefined-behavior
C++ compilation bug?
c++
gcc
undefined-behavior
Transmute struct into array in Rust
rust
undefined-behavior
Why is out-of-bounds pointer arithmetic undefined behaviour?
c++
undefined-behavior
Difference between Undefined Behavior and Ill-formed, no diagnostic message required
c++
language-lawyer
undefined-behavior
Why does the enhanced GCC 6 optimizer break practical C++ code?
c++
gcc
compiler-optimization
undefined-behavior
Why should I not try to use "this" value after "delete this"?
c++
undefined-behavior
In practice, why would different compilers compute different values of int x = ++i + ++i;?
c++
undefined-behavior
Why do I get different results from C code running in gcc and Visual Studio running it
c
scope
initialization
undefined-behavior
function-definition
Why dereferencing a null pointer is undefined behaviour?
c++
pointers
undefined-behavior
How is a variable at the same address producing 2 different values? [duplicate]
c++
constants
casting
undefined-behavior
Is accessing a global array outside its bound undefined behavior?
c
undefined-behavior
Where exactly does C++ standard say dereferencing an uninitialized pointer is undefined behavior?
c++
standards
undefined-behavior
language-lawyer
What's a proper way of type-punning a float to an int and vice-versa?
c++
undefined-behavior
gcc-warning
strict-aliasing
type-punning
Why do constant expressions have an exclusion for undefined behavior?
c++
c++11
undefined-behavior
sfinae
constexpr
Why does integer overflow on x86 with GCC cause an infinite loop?
c++
c
gcc
x86
undefined-behavior
How could pairing new[] with delete possibly lead to memory leak only?
c++
memory-management
undefined-behavior
Multithreading program stuck in optimized mode but runs normally in -O0
c++
multithreading
thread-safety
undefined-behavior
data-race
Prev
Next