From 2142abb2f3a06f33ad2ddafbbea3b16cb29e31c2 Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Wed, 5 Jun 2024 15:03:06 +0200 Subject: [PATCH] [conv.lval] Make note and generalize comment on UB --- source/expressions.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/expressions.tex b/source/expressions.tex index 683b30137f..9873f6c189 100644 --- a/source/expressions.tex +++ b/source/expressions.tex @@ -675,9 +675,10 @@ \item Otherwise, the object indicated by the glvalue is read\iref{defns.access}, and the value contained in the object is the prvalue result. -If the result is an erroneous value\iref{basic.indet} and -the bits in the value representation are not valid for the object's type, +\begin{note} +If the bits in the value representation are not valid for the object's type, the behavior is undefined. +\end{note} \end{itemize} \pnum