This is the mail archive of the gcc-bugs@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]

[Bug c/67243] Wrong Message of -Wvla for Standard ISO C90 However Emitted with -std=c11


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67243

--- Comment #13 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Another case is -Wdeclaration-after-statement:

int
fn (int m)
{
  if (m > 0)
    return -1;
  int a;
}


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