title: gcc allocate float into stack and not global rdata
body: <p>I would like to have my float variable to allocate inside the stack and not in the rdata section.</p>
  
  <p>The code:</p>
  
  <pre><code>   float f1 = 1.0f;
     if (f1 &gt; 100.0f)
  </code></pre>
  
  <p>This will generate the number "100.0f" into the rdata section.</p>
  
  <p>How can i make gcc to allocate this number into the stack instead of global?</p>