This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: c99 VLA semantics


On 16 June 2006 02:02, Mike Stump wrote:

> Here are just a few more issues I was wondering about for VLAs:
> 
> static int i;
> static int new_i() { i++; return i; }
> static int bar(int a[new_i()][new_i()]);

  If that isn't a sequence point violation, it probably ought to be, shouldn't
it?


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]