Search code examples
Is C++ compiler allowed to store function ptr in register before its arguments are evaluated?...


c++visual-c++undefined-behavior

Read More
Which of the following combinations of post & pre-increment operators have undefined behaviour i...


coperatorsexpressionundefined-behavior

Read More
Does JavaScript have undefined behaviour?...


javascriptundefined-behavior

Read More
Add numbers to filename...


cstringscopeundefined-behavior

Read More
Is this C++ member initialization behavior well defined?...


c++constructorinitializationundefined-behaviordefault-constructor

Read More
Has C++ standard changed with respect to the use of indeterminate values and undefined behavior in C...


c++c++11language-lawyerundefined-behaviorc++14

Read More
Integer overflow trapping with LLVM?...


llvmundefined-behaviorllvm-irinteger-overflow

Read More
Bug when using reinterpret_cast between two similar classes?...


c++undefined-behaviorreinterpret-cast

Read More
UB When Dereferencing Array of Unions...


c++undefined-behavior

Read More
Is relying on GCC's/LLVM's `-fexceptions` technically undefined behavior?...


c++cexceptiongccundefined-behavior

Read More
What does GCC compiler do to type conversion? Why the output on mac and linux are different?...


c++c++11type-conversionundefined-behaviorshadowing

Read More
Is "a += a" an undifined behaviour such as "i = i++"?...


cundefined-behavior

Read More
May I treat a 2D array as a contiguous 1D array?...


c++arrayspointersmultidimensional-arrayundefined-behavior

Read More
Is casting a pointer to const pointer and cast back to the original type undefined?...


c++language-lawyerundefined-behaviorconst-cast

Read More
You can `memset()` over a string in windows?...


c++linuxwindowsundefined-behavior

Read More
C++ enum class: Cast to non existing entry...


c++enumsundefined-behaviorenum-class

Read More
Who's right here? g++ or Visual Studio 2017?...


c++referencevisual-studio-2017g++undefined-behavior

Read More
Do std::min(0.0, 1.0) and std::max(0.0, 1.0) yield undefined behavior?...


c++floating-pointlanguage-lawyerundefined-behaviorstd

Read More
Is it undefined behavior in C to cast function pointers operating on derived structs up to functions...


cstructcastingfunction-pointersundefined-behavior

Read More
Is it undefined behavior to access members through a pointer to the first member of the class...


c++c++17undefined-behavior

Read More
Is the behavior of i = post_increment_i() specified, unspecified, or undefined?...


clanguage-lawyerundefined-behavioroperator-precedencesequence-points

Read More
Undefined behavior with 2d array of struct C...


ccsvmultidimensional-arraystructundefined-behavior

Read More
Does this usage of if statements cause undefined behaviour?...


c++if-statementconditional-statementslanguage-lawyerundefined-behavior

Read More
"pure virtual function called" on gcc 4.4 but not on newer version or clang 3.4...


c++g++redhatundefined-behavior

Read More
Dealing with undefined behavior when using reinterpret_cast in a memory mapping...


c++undefined-behaviorreinterpret-castmemory-mapping

Read More
Does initialization of static data member by a global constant lead to undefined behavior?...


c++undefined-behaviorlinkagec++98

Read More
What is a valid pointer in gcc linux x86-64 C++?...


c++gcclanguage-lawyerx86-64undefined-behavior

Read More
Does accessing an int with a char * potentially have undefined behavior?...


ccastinglanguage-lawyerundefined-behavior

Read More
Does the 'offsetof' macro from <stddef.h> invoke undefined behaviour?...


c++undefined-behavioroffsetof

Read More
Why does rax and rdi work the same in this situation?...


assemblyx86-64undefined-behaviorcalling-convention

Read More
BackNext