From: Eric Botcazou Date: Fri, 26 Apr 2002 00:22:23 +0000 (+0000) Subject: c-decl.c (grokdeclarator): Remove outdated ??? note on invalid declaration of flexibl... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=45c42d7db5f185804a87a5ccef5a62a04773fc20;p=gcc.git c-decl.c (grokdeclarator): Remove outdated ??? note on invalid declaration of flexible array members. * c-decl.c (grokdeclarator): Remove outdated ??? note on invalid declaration of flexible array members. From-SVN: r52772 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17b63f45377..61aa87d776d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-04-25 Eric Botcazou + + * c-decl.c (grokdeclarator): Remove outdated ??? note + on invalid declaration of flexible array members. + 2002-04-25 Richard Henderson * doc/invoke.texi: Document -gdwarf{,-2} vs debug level. diff --git a/gcc/c-decl.c b/gcc/c-decl.c index fed2e5084df..9cef1874dc6 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -4429,10 +4429,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized) } else if (decl_context == FIELD) { - /* ??? Need to check somewhere that this is a structure - and not a union, that this field is last, and that - this structure has at least one other named member. */ - if (pedantic && !flag_isoc99 && !in_system_header) pedwarn ("ISO C89 does not support flexible array members");