<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: lilllly</title><link>https://news.ycombinator.com/user?id=lilllly</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 20 May 2026 21:17:12 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=lilllly" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by lilllly in "GCC undefined behaviors are getting wild"]]></title><description><![CDATA[
<p>I can easily test if n+1 is < n with fwrapv.<p>Without you have to do convoluted things like rearranging the expression to unnatural forms (move the addition to the right but invert to subtraction, etc), special case INT_MAX/INT_MIN, and so on - which you then have to hope the compiler is smart enough to optimize, which it often isn't (oh how ironic).</p>
]]></description><pubDate>Mon, 28 Nov 2022 11:33:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=33772339</link><dc:creator>lilllly</dc:creator><comments>https://news.ycombinator.com/item?id=33772339</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33772339</guid></item><item><title><![CDATA[New comment by lilllly in "GCC undefined behaviors are getting wild"]]></title><description><![CDATA[
<p>We need a -fsane-c<p>Then they can add a #pragma optimize(assumes=no-int-overflow, whatever, etc) to precisely add optimizations when needed and you 'know' its safe.</p>
]]></description><pubDate>Mon, 28 Nov 2022 10:28:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=33771869</link><dc:creator>lilllly</dc:creator><comments>https://news.ycombinator.com/item?id=33771869</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33771869</guid></item></channel></rss>