Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in undefined-behavior
When does invoking a member function on a null instance result in undefined behavior?
Nov 12, 2021
c++
undefined-behavior
language-lawyer
standards-compliance
null-pointer
Why does integer overflow on x86 with GCC cause an infinite loop?
Aug 15, 2022
c++
c
gcc
x86
undefined-behavior
Accessing inactive union member and undefined behavior?
Dec 14, 2021
c++
undefined-behavior
language-lawyer
unions
Why does the enhanced GCC 6 optimizer break practical C++ code?
Dec 14, 2021
c++
gcc
compiler-optimization
undefined-behavior
Optimizing away a "while(1);" in C++0x
Aug 15, 2022
c++
loops
c++11
language-lawyer
undefined-behavior
In practice, why would different compilers compute different values of int x = ++i + ++i;?
Sep 26, 2022
c++
undefined-behavior
Why does this loop produce "warning: iteration 3u invokes undefined behavior" and output more than 4 lines?
Dec 14, 2021
c++
gcc
undefined-behavior
What are all the common undefined behaviours that a C++ programmer should know about? [closed]
Aug 14, 2022
c++
undefined
undefined-behavior
c++-faq
Why is unsigned integer overflow defined behavior but signed integer overflow isn't?
Aug 14, 2022
c++
c
undefined-behavior
integer-overflow
Why does this for loop exit on some platforms and not on others?
Feb 23, 2022
c
debugging
undefined-behavior
buffer-overflow
Why is f(i = -1, i = -1) undefined behavior?
Aug 14, 2022
c++
language-lawyer
undefined-behavior
Is uninitialized local variable the fastest random number generator?
Oct 18, 2022
c++
c
undefined-behavior
garbage
Does the C++ standard allow for an uninitialized bool to crash a program?
Aug 13, 2022
c++
llvm
undefined-behavior
abi
llvm-codegen
Undefined, unspecified and implementation-defined behavior
Aug 13, 2022
c++
c
undefined-behavior
unspecified-behavior
implementation-defined-behavior
Why are these constructs using pre and post-increment undefined behavior?
Aug 13, 2022
c
increment
undefined-behavior
operator-precedence
sequence-points
What is the strict aliasing rule?
Aug 13, 2022
c++
c
undefined-behavior
strict-aliasing
type-punning
Undefined behavior and sequence points
Aug 13, 2022
c++
undefined-behavior
c++-faq
sequence-points
« Newer Entries