<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>> Actually, (uintptr_t)__builtin_frame_address(0) < (uintptr_t)__builtin_frame_address(1) would probably work too.</div><div><br></div><div>I tried it but it doesn't seem to generate a constant either. <a href="https://godbolt.org/z/Z5HyEu">https://godbolt.org/z/Z5HyEu</a></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
</blockquote></div></div></div></div>