gcc: Initializers

1 
1 6.25 Non-Constant Initializers
1 ==============================
1 
1 As in standard C++ and ISO C99, the elements of an aggregate initializer
1 for an automatic variable are not required to be constant expressions in
1 GNU C.  Here is an example of an initializer with run-time varying
1 elements:
1 
1      foo (float f, float g)
1      {
1        float beat_freqs[2] = { f-g, f+g };
1        /* ... */
1      }
1