From 97dabcd0df2246922ca6d3e033cdd9d765dd6bf6 Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Tue, 4 Jun 2024 10:53:22 +0200 Subject: [PATCH 1/2] [defns.erroneous] Add 'behavior, erroneous' to index --- source/intro.tex | 1 + 1 file changed, 1 insertion(+) diff --git a/source/intro.tex b/source/intro.tex index f2cef31ff0..2435b4fbd6 100644 --- a/source/intro.tex +++ b/source/intro.tex @@ -248,6 +248,7 @@ \definition{dynamic type}{defns.dynamic.type.prvalue} \defncontext{prvalue} \termref{defns.static.type}{static type}{} of the prvalue expression +\indexdefn{behavior!erroneous}% \definition{erroneous behavior}{defns.erroneous} well-defined behavior that the implementation is recommended to diagnose \begin{defnote} From a1f15dd8edcdcd04500aaabcd614b6e77aa5516c Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Tue, 4 Jun 2024 10:57:14 +0200 Subject: [PATCH 2/2] [basic.indet] Add 'value, erroneous' to index --- source/basic.tex | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/basic.tex b/source/basic.tex index f33d0dc648..d6b58e4464 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -3748,8 +3748,6 @@ \rSec2[basic.indet]{Indeterminate and erroneous values} \pnum -\indextext{value!indeterminate}% -\indextext{indeterminate value}% When storage for an object with automatic or dynamic storage duration is obtained, the bytes comprising the storage for the object @@ -3762,7 +3760,7 @@ the \tcode{[[indeterminate]]} attribute\iref{dcl.attr.indet}, the bytes have \defnadjx{indeterminate}{values}{value}; \item -otherwise, the bytes have erroneous values, +otherwise, the bytes have \defnadjx{erroneous}{values}{value}, where each value is determined by the implementation independently of the state of the program. \end{itemize}