title: GCC no reorder stack variables
body: <p>Hi i'm trying to compile a C code without reordering my variables in stack but can't do it.</p>
  
  <p>I've tryed using:</p>
  
  <blockquote>
    <p><code>__attribute__((no_reorder))</code></p>
  </blockquote>
  
  <p>But doesn't work, also tryed to compile with the flag:   </p>
  
  <blockquote>
    <p>-fno-toplevel-reorder</p>
  </blockquote>
  
  <p>But didn't work... so i'm stuck.</p>
  
  <p>Actual code:</p>
  
  <pre><code>uint8_t __attribute__((no_reorder)) first_buf[64];
  uint8_t second_buf[32];
  </code></pre>
  
  <p>This is my compiler version:</p>
  
  <pre><code>gcc (Debian 7.2.0-19) 7.2.0
  </code></pre>
  
  <p>Thank you for reading!</p>