StackOverflow Questions for Tag: unspecified-behavior

pmor
pmor

Reputation: 6296

Floating-point: FLT_HAS_SUBNORM is 0 => subnormal value arises => unspecified behavior?

Score: 0

Views: 92

Answers: 1

Read More
NoSenseEtAl
NoSenseEtAl

Reputation: 30128

Is inserting map size as value into a map undefined behavior?

Score: 4

Views: 196

Answers: 1

Read More
Pascal Cuoq
Pascal Cuoq

Reputation: 80335

How to implement memmove in standard C without an intermediate copy?

Score: 38

Views: 10653

Answers: 5

Read More
lotusexpeditor
lotusexpeditor

Reputation: 23

Is this a C language undefined behaviour? Different results in clang and GCC

Score: 2

Views: 216

Answers: 2

Read More
AlwaysLearning
AlwaysLearning

Reputation: 8051

Equality condition on a double loop variable: unspecified or undefined?

Score: 1

Views: 57

Answers: 1

Read More
Benoit
Benoit

Reputation: 39094

What are the common undefined/unspecified behavior for C that you run into?

Score: 74

Views: 20103

Answers: 11

Read More
L. F.
L. F.

Reputation: 20629

Can I take the address of a function defined in standard library?

Score: 51

Views: 3559

Answers: 1

Read More
Ben Jackson
Ben Jackson

Reputation: 93890

Is there a sequence point between a function call returning an object and a method call on that object?

Score: 15

Views: 1368

Answers: 2

Read More
anon
anon

Reputation: 4618

How to encourage undefined behavior / out-of-order execution in C programs?

Score: 0

Views: 105

Answers: 2

Read More
zarna
zarna

Reputation: 273

Why does a main function without a return statement return value 12?

Score: 17

Views: 4177

Answers: 4

Read More
fotNelton
fotNelton

Reputation: 3894

Reason for Scala's Map.unzip returning (Iterable, Iterable)

Score: 3

Views: 1525

Answers: 4

Read More
LKlevin
LKlevin

Reputation: 361

How to catch undefined behaviour in function argument initialization

Score: 8

Views: 1007

Answers: 3

Read More
Shafik Yaghmour
Shafik Yaghmour

Reputation: 158599

Does this code from "The C++ Programming Language" 4th edition section 36.3.6 have well-defined behavior?

Score: 98

Views: 11647

Answers: 2

Read More
msc
msc

Reputation: 34658

Is "-1>>5;" unspecified behavior in C?

Score: 39

Views: 3318

Answers: 4

Read More
Martin C. Martin
Martin C. Martin

Reputation: 3682

In C++, is accessing an uninitialized array unspecified behavior or undefined behavior?

Score: 1

Views: 726

Answers: 2

Read More
RalphS
RalphS

Reputation: 677

Does C++14 define the behavior of bitwise operators on the padding bits of unsigned int?

Score: 10

Views: 817

Answers: 2

Read More
hyde
hyde

Reputation: 62898

Is this memset-memcmp on a struct variable valid C?

Score: -1

Views: 561

Answers: 2

Read More
jennysmith7
jennysmith7

Reputation: 1

How to fix this "expiration not specified" issue according to GTMatrix?

Score: -2

Views: 3144

Answers: 2

Read More
Nika_Rika
Nika_Rika

Reputation: 627

C++ mixerGetLineInfo returns MMSYSERR_ERROR (Windows 8)

Score: 1

Views: 657

Answers: 0

Read More
Pascal Cuoq
Pascal Cuoq

Reputation: 80335

In C99, is f()+g() undefined or merely unspecified?

Score: 54

Views: 1612

Answers: 3

Read More
PreviousPage 2Next