<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Wie schlau ist der GCC?]]></title><description><![CDATA[<p>Wenn ich</p>
<pre><code class="language-cpp">if ( GlobaleKonstanteVariable == true ) 
{
    //....
}
</code></pre>
<p>schreibe und den GCC anweise, er solle optimieren. Wie weit würde er gehen? Würde er den gesamten Block weglassen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/261596/wie-schlau-ist-der-gcc</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 04:32:14 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/261596.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 Feb 2010 00:29:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wie schlau ist der GCC? on Sun, 21 Feb 2010 00:29:23 GMT]]></title><description><![CDATA[<p>Wenn ich</p>
<pre><code class="language-cpp">if ( GlobaleKonstanteVariable == true ) 
{
    //....
}
</code></pre>
<p>schreibe und den GCC anweise, er solle optimieren. Wie weit würde er gehen? Würde er den gesamten Block weglassen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1858931</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1858931</guid><dc:creator><![CDATA[IchWillsWissen]]></dc:creator><pubDate>Sun, 21 Feb 2010 00:29:23 GMT</pubDate></item><item><title><![CDATA[Reply to Wie schlau ist der GCC? on Sun, 21 Feb 2010 00:36:43 GMT]]></title><description><![CDATA[<p>IchWillsWissen schrieb:</p>
<blockquote>
<p>Würde er den gesamten Block weglassen?</p>
</blockquote>
<p>Wenn <code>GlobaleKonstanteVariable</code> mit einem konstanten Ausdruck initialisiert wird, sodass die Bedingung <code>false</code> ergibt, vermutlich ja.</p>
<p>(Konstanter Ausdruck: Wert, der dem Compiler sichtbar ist, z.B. ein Literal wie <code>false</code> )</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1858933</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1858933</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Sun, 21 Feb 2010 00:36:43 GMT</pubDate></item><item><title><![CDATA[Reply to Wie schlau ist der GCC? on Sun, 21 Feb 2010 01:18:35 GMT]]></title><description><![CDATA[<p><a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-256455-and-highlight-is-.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-256455-and-highlight-is-.html</a><br />
Das funktioniert unter GCC 4.3 so wie MSVC++ 2008.</p>
<p>Gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1858936</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1858936</guid><dc:creator><![CDATA[theliquidwave]]></dc:creator><pubDate>Sun, 21 Feb 2010 01:18:35 GMT</pubDate></item><item><title><![CDATA[Reply to Wie schlau ist der GCC? on Sun, 21 Feb 2010 01:36:11 GMT]]></title><description><![CDATA[<p>Groovie Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1858939</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1858939</guid><dc:creator><![CDATA[IchWillsWissen]]></dc:creator><pubDate>Sun, 21 Feb 2010 01:36:11 GMT</pubDate></item></channel></rss>