Newbetuts
.
New posts in undefined-behavior
Why does this loop produce "warning: iteration 3u invokes undefined behavior" and output more than 4 lines?
c++
gcc
undefined-behavior
May I treat a 2D array as a contiguous 1D array?
c++
arrays
pointers
multidimensional-array
undefined-behavior
Why does left shift operation invoke Undefined Behaviour when the left side operand has negative value?
c++
c
language-lawyer
undefined-behavior
bit-shift
Why does this for loop exit on some platforms and not on others?
c
debugging
undefined-behavior
buffer-overflow
Detecting signed overflow in C/C++
c++
c
undefined-behavior
signed
integer-overflow
Uninitialized variable behaviour in C++
c++
initialization
undefined-behavior
Is `reinterpret_cast`ing between hardware SIMD vector pointer and the corresponding type an undefined behavior?
c++
x86
language-lawyer
undefined-behavior
intrinsics
Why is f(i = -1, i = -1) undefined behavior?
c++
language-lawyer
undefined-behavior
Is a^a or a-a undefined behaviour if a is not initialized?
c
undefined-behavior
Is the "struct hack" technically undefined behavior?
c
undefined-behavior
c89
Do I need to cast to unsigned char before calling toupper(), tolower(), et al.?
c++
language-lawyer
undefined-behavior
toupper
tolower
Can we change the value of an object defined with const through pointers?
c
constants
undefined-behavior
Is uninitialized local variable the fastest random number generator?
c++
c
undefined-behavior
garbage
Does initialization entail lvalue-to-rvalue conversion? Is `int x = x;` UB?
c++
initialization
undefined-behavior
language-lawyer
Optimizing away a "while(1);" in C++0x
c++
loops
c++11
language-lawyer
undefined-behavior
Linking functions with different return types
c
undefined-behavior
linkage
function-declaration
Is signed integer overflow still undefined behavior in C++?
c++
c++11
undefined-behavior
integer-overflow
Why is unsigned integer overflow defined behavior but signed integer overflow isn't?
c++
c
undefined-behavior
integer-overflow
Does the C++ standard allow for an uninitialized bool to crash a program?
c++
llvm
undefined-behavior
abi
llvm-codegen
Does "Undefined Behavior" really permit *anything* to happen? [duplicate]
c++
c
language-lawyer
undefined-behavior
Prev
Next